mirror of https://github.com/libsdl-org/SDL
Fix SDL_PRIs64 to use standard PRId64
PRIs64 doesn't exist in C standards.
This commit is contained in:
parent
54ff1f35bd
commit
8a2cac7aaa
|
@ -440,8 +440,8 @@ typedef Sint64 SDL_Time;
|
|||
#ifndef SDL_PRIs64
|
||||
#if defined(SDL_PLATFORM_WINDOWS)
|
||||
#define SDL_PRIs64 "I64d"
|
||||
#elif defined(PRIs64)
|
||||
#define SDL_PRIs64 PRIs64
|
||||
#elif defined(PRId64)
|
||||
#define SDL_PRIs64 PRId64
|
||||
#elif defined(__LP64__) && !defined(SDL_PLATFORM_APPLE) && !defined(__EMSCRIPTEN__)
|
||||
#define SDL_PRIs64 "ld"
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue