From 397de5e0028cfc36b114517693513a17616a859d Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 4 Sep 2015 17:16:00 +0700 Subject: [PATCH] Use __EMSCRIPTEN__ rather than EMSCRIPTEN. --- include/bx/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index d2684b0..d272a17 100644 --- a/include/bx/platform.h +++ b/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__)