Add minimal emscripten support
This commit is contained in:
1 parent
f869bffe97
commit
f41bd37fde
4 files changed
+100
-3
No files matched your search
@@ -290,6 +290,22 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#endif
|
||||
|
||||
//================================================================== EMSCRIPTEN ===
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
#define OS_STRING "emscripten"
|
||||
#define ID_INLINE inline
|
||||
#define PATH_SEP '/'
|
||||
|
||||
#define ARCH_STRING "wasm32"
|
||||
|
||||
#define Q3_LITTLE_ENDIAN
|
||||
|
||||
#define DLL_EXT ".wasm"
|
||||
|
||||
#endif
|
||||
|
||||
//================================================================== Q3VM ===
|
||||
|
||||
#ifdef Q3_VM
|
||||
|
||||
Reference in new issue
Block a user