From 8a2cac7aaade086fce7c8e645fca606371da13d7 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 7 Nov 2024 23:10:57 -0600 Subject: [PATCH] Fix SDL_PRIs64 to use standard PRId64 PRIs64 doesn't exist in C standards. --- include/SDL3/SDL_stdinc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 7167b92ff1e0a..da8487e834a80 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -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