Selaa lähdekoodia

Fixed a warning when SDL_syswm.h is included in code compiled for iOS with clang.

Alex Szpakowski 10 vuotta sitten
vanhempi
commit
6c20b68257
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      include/SDL_syswm.h

+ 1 - 0
include/SDL_syswm.h

@@ -163,6 +163,7 @@ struct SDL_SysWMmsg
 #if defined(SDL_VIDEO_DRIVER_UIKIT)
         struct
         {
+            int dummy;
             /* No UIKit window events yet */
         } uikit;
 #endif