diff options
Diffstat (limited to 'include/fitz/base_sysdep.h')
-rw-r--r-- | include/fitz/base_sysdep.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fitz/base_sysdep.h b/include/fitz/base_sysdep.h index 4e8b1115..1610cd20 100644 --- a/include/fitz/base_sysdep.h +++ b/include/fitz/base_sysdep.h @@ -19,8 +19,12 @@ #else # define FZ_FLEX 1 # define restrict +#ifdef _MSC_VER +# define inline __inline +#else # define inline __inline__ #endif +#endif #ifdef WIN32 # define vsnprintf _vsnprintf @@ -76,3 +80,6 @@ extern int opterr, optind, optopt; extern char *optarg; #endif +#ifdef NEED_GETTIMEOFDAY +extern int gettimeofday(struct timeval *tv, struct timezone *tz); +#endif |