Browse Source

Fixed Emscripten build.

Branimir Karadžić 8 years ago
parent
commit
a342c225cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/bx/platform.h

+ 1 - 1
include/bx/platform.h

@@ -236,7 +236,7 @@
 #	elif defined(__MINGW32__) || defined(__MINGW64__)
 #	elif defined(__MINGW32__) || defined(__MINGW64__)
 #		undef  BX_CRT_MINGW
 #		undef  BX_CRT_MINGW
 #		define BX_CRT_MINGW 1
 #		define BX_CRT_MINGW 1
-#	elif defined(__apple_build_version__) || defined(__ORBIS__)
+#	elif defined(__apple_build_version__) || defined(__ORBIS__) || defined(__EMSCRIPTEN__)
 #		undef  BX_CRT_LIBCXX
 #		undef  BX_CRT_LIBCXX
 #		define BX_CRT_LIBCXX 1
 #		define BX_CRT_LIBCXX 1
 #	endif //
 #	endif //