Fix SDL_PRIs64 to use standard PRId64

PRIs64 doesn't exist in C standards.
This commit is contained in:
Zack Middleton 2024-11-07 23:10:57 -06:00 committed by Ozkan Sezer
parent 54ff1f35bd
commit 8a2cac7aaa
1 changed files with 2 additions and 2 deletions

View File

@ -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