From d7ecac17060ab8cf765b21e55a762aa4855dfdb1 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: Mon, 18 Apr 2022 18:13:15 -0700 Subject: [PATCH] Removed musl libc workaround inability to detect it via macros. --- include/bx/platform.h | 7 ------- tests/macros_test.cpp | 1 - 2 files changed, 8 deletions(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index 37aa34e..210d4b4 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -37,10 +37,6 @@ #define BX_CRT_MSVC 0 #define BX_CRT_NEWLIB 0 -#ifndef BX_CRT_MUSL -# define BX_CRT_MUSL 0 -#endif // BX_CRT_MUSL - #ifndef BX_CRT_NONE # define BX_CRT_NONE 0 #endif // BX_CRT_NONE @@ -253,7 +249,6 @@ && !BX_CRT_LIBCXX \ && !BX_CRT_MINGW \ && !BX_CRT_MSVC \ - && !BX_CRT_MUSL \ && !BX_CRT_NEWLIB # undef BX_CRT_NONE # define BX_CRT_NONE 1 @@ -429,8 +424,6 @@ # define BX_CRT_NAME "Clang C Library" #elif BX_CRT_NEWLIB # define BX_CRT_NAME "Newlib" -#elif BX_CRT_MUSL -# define BX_CRT_NAME "musl libc" #elif BX_CRT_NONE # define BX_CRT_NAME "None" #else diff --git a/tests/macros_test.cpp b/tests/macros_test.cpp index eb39edb..7870680 100644 --- a/tests/macros_test.cpp +++ b/tests/macros_test.cpp @@ -13,7 +13,6 @@ BX_STATIC_ASSERT(false || BX_CRT_LIBCXX || BX_CRT_MINGW || BX_CRT_MSVC - || BX_CRT_MUSL || BX_CRT_NEWLIB );