diff --git a/src/events/SDL_events.c b/src/events/SDL_events.c index 9609fb6a97b49..4b6fe607887ed 100644 --- a/src/events/SDL_events.c +++ b/src/events/SDL_events.c @@ -35,7 +35,7 @@ #include "SDL_syswm.h" #undef SDL_PRIs64 -#ifdef __WIN32__ +#if defined(__WIN32__) && !defined(__CYGWIN__) #define SDL_PRIs64 "I64d" #else #define SDL_PRIs64 "lld"