mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 17:28:28 +00:00
Fix SDL_PRIs64 to use standard PRId64
PRIs64 doesn't exist in C standards.
This commit is contained in:
parent
54ff1f35bd
commit
8a2cac7aaa
1 changed files with 2 additions and 2 deletions
|
@ -440,8 +440,8 @@ typedef Sint64 SDL_Time;
|
||||||
#ifndef SDL_PRIs64
|
#ifndef SDL_PRIs64
|
||||||
#if defined(SDL_PLATFORM_WINDOWS)
|
#if defined(SDL_PLATFORM_WINDOWS)
|
||||||
#define SDL_PRIs64 "I64d"
|
#define SDL_PRIs64 "I64d"
|
||||||
#elif defined(PRIs64)
|
#elif defined(PRId64)
|
||||||
#define SDL_PRIs64 PRIs64
|
#define SDL_PRIs64 PRId64
|
||||||
#elif defined(__LP64__) && !defined(SDL_PLATFORM_APPLE) && !defined(__EMSCRIPTEN__)
|
#elif defined(__LP64__) && !defined(SDL_PLATFORM_APPLE) && !defined(__EMSCRIPTEN__)
|
||||||
#define SDL_PRIs64 "ld"
|
#define SDL_PRIs64 "ld"
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue