diff --git a/miniz_zip.c b/miniz_zip.c index 7358f0b..e4877d2 100644 --- a/miniz_zip.c +++ b/miniz_zip.c @@ -97,7 +97,7 @@ static FILE *mz_freopen(const char *pPath, const char *pMode, FILE *pStream) #define MZ_FFLUSH fflush #define MZ_FREOPEN(f, m, s) freopen(f, m, s) #define MZ_DELETE_FILE remove -#elif defined(__GNUC__) && defined(_LARGEFILE64_SOURCE) +#elif defined(__USE_LARGEFILE64) // gcc, clang #ifndef MINIZ_NO_TIME #include #endif