diff options
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index 1fa3d4fe1..b7c468672 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -18,6 +18,20 @@ #include <sys/stat.h> #include <dirent.h> +#if defined( SYS_MINGW ) +# define fseek fseeko64 +# define ftell ftello64 +# undef fseeko +# define fseeko fseeko64 +# undef ftello +# define ftello ftello64 +# define flockfile(...) +# define funlockfile(...) +# define getc_unlocked getc +# undef off_t +# define off_t off64_t +#endif + #ifndef MIN #define MIN( a, b ) ( (a) > (b) ? (b) : (a) ) #endif |