Merge pull request #1627 from dob205/feature/macos_fix_for_fileops

Update plat.h to ensure 86Box compatibility under macOS
This commit is contained in:
Miran Grča 2021-08-23 13:03:24 +02:00 committed by GitHub
commit c99c629e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@
# define strcasecmp _stricmp
#endif
#if defined(UNIX) && defined(FREEBSD)
#if defined(UNIX) && defined(FREEBSD) || defined(__APPLE__)
/* FreeBSD has largefile by default. */
# define fopen64 fopen
# define fseeko64 fseeko