Commits

Anonymous committed a1c8013

Force Glitch64 to recognize OSX using __APPLE__ instead of macintosh

Comments (0)

Files changed (2)

src/Glitch64/inc/3dfx.h

 #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

src/Glitch64/inc/glidesys.h

 #  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"