include/SDL_syswm.h
changeset 9153 b0a76d1f4a56
parent 9099 5bbfdfa38bfc
child 9422 286c854c1d5b
child 9521 4c218c80b34d
equal deleted inserted replaced
9152:9ecf775ead1b 9153:b0a76d1f4a56
   150         } dfb;
   150         } dfb;
   151 #endif
   151 #endif
   152 #if defined(SDL_VIDEO_DRIVER_COCOA)
   152 #if defined(SDL_VIDEO_DRIVER_COCOA)
   153         struct
   153         struct
   154         {
   154         {
       
   155             /* Latest version of Xcode clang complains about empty structs in C v. C++:
       
   156                  error: empty struct has size 0 in C, size 1 in C++
       
   157              */
       
   158             int dummy;
   155             /* No Cocoa window events yet */
   159             /* No Cocoa window events yet */
   156         } cocoa;
   160         } cocoa;
   157 #endif
   161 #endif
   158 #if defined(SDL_VIDEO_DRIVER_UIKIT)
   162 #if defined(SDL_VIDEO_DRIVER_UIKIT)
   159         struct
   163         struct