mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-20 10:28:23 +00:00
Fix SDL_PRIs64 to use standard PRId64
PRIs64 doesn't exist in C standards. (cherry picked from commit8a2cac7aaa) (cherry picked from commit761ea32b74)
This commit is contained in:
committed by
Sam Lantinga
parent
96f4421e5f
commit
6f859d90f1
@@ -255,8 +255,8 @@ typedef uint64_t Uint64;
|
||||
#ifndef SDL_PRIs64
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#define SDL_PRIs64 "I64d"
|
||||
#elif defined(PRIs64)
|
||||
#define SDL_PRIs64 PRIs64
|
||||
#elif defined(PRId64)
|
||||
#define SDL_PRIs64 PRId64
|
||||
#elif defined(__LP64__) && !defined(__APPLE__) && !defined(__EMSCRIPTEN__)
|
||||
#define SDL_PRIs64 "ld"
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user