mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
public: sync build.h with engine
This commit is contained in:
parent
9fde15075b
commit
da7322ba38
@ -121,7 +121,7 @@ For more information, please refer to <http://unlicense.org/>
|
|||||||
#define XASH_EMSCRIPTEN 1
|
#define XASH_EMSCRIPTEN 1
|
||||||
#elif defined __WATCOMC__ && defined __DOS__
|
#elif defined __WATCOMC__ && defined __DOS__
|
||||||
#define XASH_DOS4GW 1
|
#define XASH_DOS4GW 1
|
||||||
#define XASH_LITTLE_ENDIAN
|
#define XASH_LITTLE_ENDIAN 1
|
||||||
#elif defined __HAIKU__
|
#elif defined __HAIKU__
|
||||||
#define XASH_HAIKU 1
|
#define XASH_HAIKU 1
|
||||||
#define XASH_POSIX 1
|
#define XASH_POSIX 1
|
||||||
@ -220,7 +220,7 @@ For more information, please refer to <http://unlicense.org/>
|
|||||||
#elif defined __riscv
|
#elif defined __riscv
|
||||||
#define XASH_RISCV 1
|
#define XASH_RISCV 1
|
||||||
#if __riscv_xlen == 64
|
#if __riscv_xlen == 64
|
||||||
#define XASH_64BIT
|
#define XASH_64BIT 1
|
||||||
#elif __riscv_xlen == 32
|
#elif __riscv_xlen == 32
|
||||||
// ...
|
// ...
|
||||||
#else
|
#else
|
||||||
@ -228,11 +228,11 @@ For more information, please refer to <http://unlicense.org/>
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __riscv_float_abi_soft
|
#if defined __riscv_float_abi_soft
|
||||||
#define XASH_RISCV_SOFTFP
|
#define XASH_RISCV_SOFTFP 1
|
||||||
#elif defined __riscv_float_abi_single
|
#elif defined __riscv_float_abi_single
|
||||||
#define XASH_RISCV_SINGLEFP
|
#define XASH_RISCV_SINGLEFP 1
|
||||||
#elif defined __riscv_float_abi_double
|
#elif defined __riscv_float_abi_double
|
||||||
#define XASH_RISCV_DOUBLEFP
|
#define XASH_RISCV_DOUBLEFP 1
|
||||||
#else
|
#else
|
||||||
#error "Unknown RISC-V float ABI"
|
#error "Unknown RISC-V float ABI"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user