This commit is contained in:
Бранимир Караџић
2019-10-17 08:32:32 -07:00
parent 0f3bb82216
commit a9e8a24b60
3 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -12,12 +12,12 @@
# include <bx/cpu.h>
# include "crt0.h"
#elif BX_PLATFORM_ANDROID \
|| BX_PLATFORM_BSD \
|| BX_PLATFORM_HAIKU \
|| BX_PLATFORM_LINUX \
|| BX_PLATFORM_IOS \
|| BX_PLATFORM_OSX \
|| BX_PLATFORM_PS4 \
|| BX_PLATFORM_BSD \
|| BX_PLATFORM_RPI
# include <pthread.h>
#elif BX_PLATFORM_WINDOWS \

View File

@@ -15,12 +15,12 @@
#if BX_CRT_NONE
# include "crt0.h"
#elif BX_PLATFORM_ANDROID \
|| BX_PLATFORM_BSD \
|| BX_PLATFORM_HAIKU \
|| BX_PLATFORM_LINUX \
|| BX_PLATFORM_IOS \
|| BX_PLATFORM_OSX \
|| BX_PLATFORM_PS4 \
|| BX_PLATFORM_BSD \
|| BX_PLATFORM_RPI
# include <pthread.h>
# if defined(__FreeBSD__)