From a44dca51e8a851c728972c95e6af3f7190fbc032 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 30 Mar 2017 16:58:13 +1100 Subject: [PATCH] assume LLVM libc++ if __llvm__ is defined but __GLIBC__ is undefined (#145) --- 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 8d8c340..7e7591d 100644 --- a/include/bx/platform.h +++ b/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 //