mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 07:28:30 +00:00
Fix SDL_PRIs64 to use standard PRId64
PRIs64 doesn't exist in C standards.
This commit is contained in:

committed by
Ozkan Sezer

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
|
||||
|
Reference in New Issue
Block a user