From e64b7c097f30d33134fe8fa522b3c95fc461c3d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 22 Jun 2024 12:01:42 -0700 Subject: [PATCH] Cleanup. --- include/bx/platform.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index 686d98e..abbd1c0 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -238,15 +238,19 @@ # elif defined(__GLIBC__) # undef BX_CRT_GLIBC # define BX_CRT_GLIBC (__GLIBC__ * 10000 + __GLIBC_MINOR__ * 100) -# elif defined(__MINGW32__) || defined(__MINGW64__) +# elif defined(__MINGW32__) \ + || defined(__MINGW64__) # undef BX_CRT_MINGW # define BX_CRT_MINGW 1 -# elif defined(__apple_build_version__) || defined(__ORBIS__) || defined(__EMSCRIPTEN__) || defined(__llvm__) || defined(__HAIKU__) -# undef BX_CRT_LIBCXX -# define BX_CRT_LIBCXX 1 # elif defined(_MSC_VER) # undef BX_CRT_MSVC # define BX_CRT_MSVC 1 +# elif defined(__apple_build_version__) \ + || BX_PLATFORM_PS4 \ + || BX_PLATFORM_EMSCRIPTEN \ + || defined(__llvm__) +# undef BX_CRT_LIBCXX +# define BX_CRT_LIBCXX 1 # endif // #endif // !BX_CRT_NONE