|
|
@@ -30,12 +30,12 @@
|
|
|
|
|
|
// C Runtime
|
|
|
#define BX_CRT_BIONIC 0
|
|
|
+#define BX_CRT_BSD 0
|
|
|
#define BX_CRT_GLIBC 0
|
|
|
#define BX_CRT_LIBCXX 0
|
|
|
#define BX_CRT_MINGW 0
|
|
|
#define BX_CRT_MSVC 0
|
|
|
#define BX_CRT_NEWLIB 0
|
|
|
-#define BX_CRT_BSD 0
|
|
|
|
|
|
#ifndef BX_CRT_MUSL
|
|
|
# define BX_CRT_MUSL 0
|
|
|
@@ -249,13 +249,13 @@
|
|
|
# endif //
|
|
|
|
|
|
# if !BX_CRT_BIONIC \
|
|
|
+ && !BX_CRT_BSD \
|
|
|
&& !BX_CRT_GLIBC \
|
|
|
&& !BX_CRT_LIBCXX \
|
|
|
&& !BX_CRT_MINGW \
|
|
|
&& !BX_CRT_MSVC \
|
|
|
&& !BX_CRT_MUSL \
|
|
|
- && !BX_CRT_NEWLIB \
|
|
|
- && !BX_CRT_BSD
|
|
|
+ && !BX_CRT_NEWLIB
|
|
|
# undef BX_CRT_NONE
|
|
|
# define BX_CRT_NONE 1
|
|
|
# endif // BX_CRT_*
|
|
|
@@ -418,6 +418,8 @@
|
|
|
|
|
|
#if BX_CRT_BIONIC
|
|
|
# define BX_CRT_NAME "Bionic libc"
|
|
|
+#elif BX_CRT_BSD
|
|
|
+# define BX_CRT_NAME "BSD libc"
|
|
|
#elif BX_CRT_GLIBC
|
|
|
# define BX_CRT_NAME "GNU C Library"
|
|
|
#elif BX_CRT_MSVC
|
|
|
@@ -430,8 +432,6 @@
|
|
|
# define BX_CRT_NAME "Newlib"
|
|
|
#elif BX_CRT_MUSL
|
|
|
# define BX_CRT_NAME "musl libc"
|
|
|
-#elif BX_CRT_BSD
|
|
|
-# define BX_CRT_NAME "BSD"
|
|
|
#elif BX_CRT_NONE
|
|
|
# define BX_CRT_NAME "None"
|
|
|
#else
|