Force Glitch64 to recognize OSX using __APPLE__ instead of macintosh
079ffaeb19
This commit is contained in:
parent
549e2f78fb
commit
f3d3a335fc
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue