Sfoglia il codice sorgente

revert commit ac25395 as it broke linux..

Ozkan Sezer 10 mesi fa
parent
commit
9422c57201
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      src/events/SDL_events.c

+ 7 - 0
src/events/SDL_events.c

@@ -34,6 +34,13 @@
 #include "../video/SDL_sysvideo.h"
 #include "SDL_syswm.h"
 
+#undef SDL_PRIs64
+#if (defined(__WIN32__) || defined(__GDK__)) && !defined(__CYGWIN__)
+#define SDL_PRIs64 "I64d"
+#else
+#define SDL_PRIs64 "lld"
+#endif
+
 /* An arbitrary limit so we don't have unbounded growth */
 #define SDL_MAX_QUEUED_EVENTS 65535