public: comment out XASH_JS define to avoid arch misdetection on modern Emscripten versions

This commit is contained in:
Alibek Omarov
2025-06-15 11:06:58 +05:00
parent 6022865cae
commit 72b8182af0

View File

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