Redirect fopen64 functions to fopen for non-Linux Unix systems

This commit is contained in:
Cacodemon345
2021-09-07 16:24:50 +06:00
committed by GitHub
parent 81051f33e0
commit d232ce99fe

View File

@@ -36,7 +36,7 @@ extern int stricmp(const char* s1, const char* s2);
extern int strnicmp(const char* s1, const char* s2, size_t n);
#endif
#if defined(UNIX) && defined(FREEBSD) || defined(__APPLE__)
#if (defined(__unix__) || defined(__APPLE__)) && !defined(__linux__)
/* FreeBSD has largefile by default. */
# define fopen64 fopen
# define fseeko64 fseeko