mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Re-add NetBSD support to bx.
This commit is contained in:
parent
83bed156dd
commit
b3ff7bd936
2 changed files with 6 additions and 0 deletions
2
3rdparty/bx/include/bx/os.h
vendored
2
3rdparty/bx/include/bx/os.h
vendored
|
@ -19,6 +19,7 @@
|
|||
|| BX_PLATFORM_IOS \
|
||||
|| BX_PLATFORM_LINUX \
|
||||
|| BX_PLATFORM_NACL \
|
||||
|| BX_PLATFORM_NETBSD \
|
||||
|| BX_PLATFORM_OSX \
|
||||
|| BX_PLATFORM_PS4 \
|
||||
|| BX_PLATFORM_RPI
|
||||
|
@ -28,6 +29,7 @@
|
|||
|| BX_PLATFORM_NETBSD \
|
||||
|| BX_PLATFORM_IOS \
|
||||
|| BX_PLATFORM_NACL \
|
||||
|| BX_PLATFORM_NETBSD \
|
||||
|| BX_PLATFORM_OSX \
|
||||
|| BX_PLATFORM_PS4
|
||||
# include <pthread.h> // mach_port_t
|
||||
|
|
4
3rdparty/bx/include/bx/platform.h
vendored
4
3rdparty/bx/include/bx/platform.h
vendored
|
@ -19,6 +19,7 @@
|
|||
#define BX_PLATFORM_IOS 0
|
||||
#define BX_PLATFORM_LINUX 0
|
||||
#define BX_PLATFORM_NACL 0
|
||||
#define BX_PLATFORM_NETBSD 0
|
||||
#define BX_PLATFORM_OSX 0
|
||||
#define BX_PLATFORM_PS4 0
|
||||
#define BX_PLATFORM_QNX 0
|
||||
|
@ -203,6 +204,7 @@
|
|||
|| BX_PLATFORM_IOS \
|
||||
|| BX_PLATFORM_LINUX \
|
||||
|| BX_PLATFORM_NACL \
|
||||
|| BX_PLATFORM_NETBSD \
|
||||
|| BX_PLATFORM_OSX \
|
||||
|| BX_PLATFORM_QNX \
|
||||
|| BX_PLATFORM_PS4 \
|
||||
|
@ -258,6 +260,8 @@
|
|||
#elif BX_PLATFORM_NACL
|
||||
# define BX_PLATFORM_NAME "NaCl " \
|
||||
BX_STRINGIZE(BX_PLATFORM_NACL)
|
||||
#elif BX_PLATFORM_NETBSD
|
||||
# define BX_PLATFORM_NAME "NetBSD"
|
||||
#elif BX_PLATFORM_OSX
|
||||
# define BX_PLATFORM_NAME "OSX"
|
||||
#elif BX_PLATFORM_PS4
|
||||
|
|
Loading…
Reference in a new issue