mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
[emscripten] Fixes for data addresses above 2gb
This includes both wasm64 and wasm32 when addressing more than 2gb of memory. Fixes: #9052
This commit is contained in:
parent
da19244f7f
commit
3deb07ea39
4 changed files with 10 additions and 4 deletions
|
|
@ -269,7 +269,7 @@ typedef uint64_t Uint64;
|
|||
#define SDL_PRIs64 "I64d"
|
||||
#elif defined(PRIs64)
|
||||
#define SDL_PRIs64 PRIs64
|
||||
#elif defined(__LP64__) && !defined(__APPLE__)
|
||||
#elif defined(__LP64__) && !defined(__APPLE__) && !defined(__EMSCRIPTEN__)
|
||||
#define SDL_PRIs64 "ld"
|
||||
#else
|
||||
#define SDL_PRIs64 "lld"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue