Force Glitch64 to recognize OSX using __APPLE__ instead of macintosh

079ffaeb19
This commit is contained in:
zilmar 2015-10-09 11:02:14 +11:00
parent 549e2f78fb
commit f3d3a335fc
2 changed files with 4 additions and 1 deletions

View File

@ -88,6 +88,9 @@ typedef struct { float r, g, b, a; } FxColor4;
#elif defined(__unix__)
# define FX_ENTRY extern
# define FX_CALL
#elif defined(__APPLE__)
# define FX_ENTRY extern
# define FX_CALL
#elif defined(__MWERKS__)
# if macintosh
# define FX_ENTRY extern

View File

@ -116,7 +116,7 @@ n** -----------------------------------------------------------------------
# define GLIDE_OS GLIDE_OS_DOS32
#elif defined(__WIN32__)
# define GLIDE_OS GLIDE_OS_WIN32
#elif defined(macintosh)
#elif defined(macintosh) || defined(__APPLE__)
# define GLIDE_OS GLIDE_OS_MACOS
#else
#error "Unknown OS"