Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions include/Common/EABase/config/eaplatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,13 @@
#define EA_PLATFORM_WINRT 1
#endif

#elif defined(__EMSCRIPTEN__)
#define EA_PROCESSOR_EMSCRIPTEN 1
#define EA_SYSTEM_LITTLE_ENDIAN 1
#define EA_PLATFORM_DESCRIPTION "Emscripten WASM"
#define EA_PLATFORM_POSIX 1
#define EASTL_DEBUG_BREAK_OVERRIDE 1

// Sun (Solaris)
// __SUNPRO_CC is defined by the Sun compiler.
// __sun is defined by the GCC compiler.
Expand Down