|
|
@ -76,6 +76,7 @@ Then you can use another oneliner to query all variables: |
|
|
|
#undef XASH_NETBSD |
|
|
|
#undef XASH_NETBSD |
|
|
|
#undef XASH_OPENBSD |
|
|
|
#undef XASH_OPENBSD |
|
|
|
#undef XASH_POSIX |
|
|
|
#undef XASH_POSIX |
|
|
|
|
|
|
|
#undef XASH_PPC |
|
|
|
#undef XASH_RISCV |
|
|
|
#undef XASH_RISCV |
|
|
|
#undef XASH_RISCV_DOUBLEFP |
|
|
|
#undef XASH_RISCV_DOUBLEFP |
|
|
|
#undef XASH_RISCV_SINGLEFP |
|
|
|
#undef XASH_RISCV_SINGLEFP |
|
|
@ -138,7 +139,12 @@ Then you can use another oneliner to query all variables: |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if XASH_ANDROID || defined XASH_IOS || defined XASH_NSWITCH || defined XASH_PSVITA |
|
|
|
// XASH_SAILFISH is special: SailfishOS by itself is a normal GNU/Linux platform
|
|
|
|
|
|
|
|
// It doesn't make sense to split it to separate platform
|
|
|
|
|
|
|
|
// but we still need XASH_MOBILE_PLATFORM for the engine.
|
|
|
|
|
|
|
|
// So this macro is defined entirely in build-system: see main wscript
|
|
|
|
|
|
|
|
// HLSDK/PrimeXT/other SDKs users note: you may ignore this macro
|
|
|
|
|
|
|
|
#if XASH_ANDROID || XASH_IOS || XASH_NSWITCH || XASH_PSVITA || XASH_SAILFISH |
|
|
|
#define XASH_MOBILE_PLATFORM 1 |
|
|
|
#define XASH_MOBILE_PLATFORM 1 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
@ -190,6 +196,11 @@ Then you can use another oneliner to query all variables: |
|
|
|
#elif defined __e2k__ |
|
|
|
#elif defined __e2k__ |
|
|
|
#define XASH_64BIT 1 |
|
|
|
#define XASH_64BIT 1 |
|
|
|
#define XASH_E2K 1 |
|
|
|
#define XASH_E2K 1 |
|
|
|
|
|
|
|
#elif defined __PPC__ || defined __powerpc__ |
|
|
|
|
|
|
|
#define XASH_PPC 1 |
|
|
|
|
|
|
|
#if defined __PPC64__ || defined __powerpc64__ |
|
|
|
|
|
|
|
#define XASH_64BIT 1 |
|
|
|
|
|
|
|
#endif |
|
|
|
#elif defined _M_ARM // msvc
|
|
|
|
#elif defined _M_ARM // msvc
|
|
|
|
#define XASH_ARM 7 |
|
|
|
#define XASH_ARM 7 |
|
|
|
#define XASH_ARM_HARDFP 1 |
|
|
|
#define XASH_ARM_HARDFP 1 |
|
|
|