mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: comment out XASH_JS define to avoid arch misdetection on modern Emscripten versions
This commit is contained in:
@@ -194,8 +194,9 @@ Then you can use another oneliner to query all variables:
|
|||||||
#define XASH_ARM 8
|
#define XASH_ARM 8
|
||||||
#elif defined __mips__
|
#elif defined __mips__
|
||||||
#define XASH_MIPS 1
|
#define XASH_MIPS 1
|
||||||
#elif defined __EMSCRIPTEN__
|
// commented out to avoid misdetection, modern Emscripten versions target WASM only
|
||||||
#define XASH_JS 1
|
//#elif defined __EMSCRIPTEN__
|
||||||
|
// #define XASH_JS 1
|
||||||
#elif defined __e2k__
|
#elif defined __e2k__
|
||||||
#define XASH_64BIT 1
|
#define XASH_64BIT 1
|
||||||
#define XASH_E2K 1
|
#define XASH_E2K 1
|
||||||
|
|||||||
Reference in New Issue
Block a user