Fixed warnings when building with cygwin

Fixes https://github.com/libsdl-org/SDL/issues/5025
This commit is contained in:
Sam Lantinga 2022-03-17 11:37:08 -07:00
parent e8c3ff56e0
commit cc152103ba

View file

@ -35,7 +35,7 @@
#include "SDL_syswm.h" #include "SDL_syswm.h"
#undef SDL_PRIs64 #undef SDL_PRIs64
#ifdef __WIN32__ #if defined(__WIN32__) && !defined(__CYGWIN__)
#define SDL_PRIs64 "I64d" #define SDL_PRIs64 "I64d"
#else #else
#define SDL_PRIs64 "lld" #define SDL_PRIs64 "lld"