From cc152103ba11c890848c991d7ddf281b3b1f1e14 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 17 Mar 2022 11:37:08 -0700 Subject: [PATCH] Fixed warnings when building with cygwin Fixes https://github.com/libsdl-org/SDL/issues/5025 --- src/events/SDL_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/SDL_events.c b/src/events/SDL_events.c index 9609fb6a9..4b6fe6078 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"