Przeglądaj źródła

assume LLVM libc++ if __llvm__ is defined but __GLIBC__ is undefined (#145)

Vas Crabb 8 lat temu
rodzic
commit
a44dca51e8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      include/bx/platform.h

+ 1 - 1
include/bx/platform.h

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