Commit 6c20b68257c7b2bf7098cf6940a46e28e7622479

Alex Szpakowski 2015-05-05T16:24:05

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/SDL_syswm.h b/include/SDL_syswm.h
index fa11455..2485efb 100644
--- a/include/SDL_syswm.h
+++ b/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