Kaynağa Gözat

Use __EMSCRIPTEN__ rather than EMSCRIPTEN.

Bruce Mitchener 10 yıl önce
ebeveyn
işleme
397de5e002
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      include/bx/platform.h

+ 1 - 1
include/bx/platform.h

@@ -175,7 +175,7 @@
 #elif defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
 #	undef  BX_PLATFORM_OSX
 #	define BX_PLATFORM_OSX 1
-#elif defined(EMSCRIPTEN)
+#elif defined(__EMSCRIPTEN__)
 #	undef  BX_PLATFORM_EMSCRIPTEN
 #	define BX_PLATFORM_EMSCRIPTEN 1
 #elif defined(__ORBIS__)