Mame: Fix compilation errors in 'posixfile.cpp', for older MacOS/Xcode releases

This commit is contained in:
Masc Guy 2020-12-08 16:16:06 -05:00 committed by Vas Crabb
parent c1847faf80
commit bfa8d3572d

View File

@ -37,6 +37,11 @@
#endif
#endif
// Fix for MacOS compilation errors
#if defined(__APPLE__) && !defined(_DARWIN_C_SOURCE)
#define _DARWIN_C_SOURCE
#endif
// MAME headers
#include "posixfile.h"
#include "unicode.h"