From 72b8182af09c2636c6a336bad56c4d90cf10f5ad Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 15 Jun 2025 11:06:58 +0500 Subject: [PATCH] public: comment out XASH_JS define to avoid arch misdetection on modern Emscripten versions --- public/build.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/build.h b/public/build.h index f986008f..3fdfeded 100644 --- a/public/build.h +++ b/public/build.h @@ -194,8 +194,9 @@ Then you can use another oneliner to query all variables: #define XASH_ARM 8 #elif defined __mips__ #define XASH_MIPS 1 -#elif defined __EMSCRIPTEN__ - #define XASH_JS 1 +// commented out to avoid misdetection, modern Emscripten versions target WASM only +//#elif defined __EMSCRIPTEN__ +// #define XASH_JS 1 #elif defined __e2k__ #define XASH_64BIT 1 #define XASH_E2K 1