mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 13:21:51 +08:00
public: define Emscripten as POSIX-compatible
This commit is contained in:
@@ -97,8 +97,6 @@ Then you can use another oneliner to query all variables:
|
||||
//================================================================
|
||||
#if defined _WIN32
|
||||
#define XASH_WIN32 1
|
||||
#elif defined __EMSCRIPTEN__
|
||||
#define XASH_EMSCRIPTEN 1
|
||||
#elif defined __WATCOMC__ && defined __DOS__
|
||||
#define XASH_DOS4GW 1
|
||||
#else // POSIX compatible
|
||||
@@ -137,6 +135,8 @@ Then you can use another oneliner to query all variables:
|
||||
#define XASH_WASI 1
|
||||
#elif defined __sun__
|
||||
#define XASH_SUNOS 1
|
||||
#elif defined __EMSCRIPTEN__
|
||||
#define XASH_EMSCRIPTEN 1
|
||||
#else
|
||||
#error
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user