Browse Source

Removed musl libc workaround inability to detect it via macros.

Бранимир Караџић 3 years ago
parent
commit
d7ecac1706
2 changed files with 0 additions and 8 deletions
  1. 0 7
      include/bx/platform.h
  2. 0 1
      tests/macros_test.cpp

+ 0 - 7
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

+ 0 - 1
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
 	);