include/SDL_syswm.h
branchiOS-improvements
changeset 9521 4c218c80b34d
parent 9515 63f5d07c7d70
parent 9153 b0a76d1f4a56
child 9536 3c87b8f9dc58
     1.1 --- a/include/SDL_syswm.h	Tue Oct 28 01:34:40 2014 -0300
     1.2 +++ b/include/SDL_syswm.h	Tue Oct 28 18:36:29 2014 -0300
     1.3 @@ -152,6 +152,10 @@
     1.4  #if defined(SDL_VIDEO_DRIVER_COCOA)
     1.5          struct
     1.6          {
     1.7 +            /* Latest version of Xcode clang complains about empty structs in C v. C++:
     1.8 +                 error: empty struct has size 0 in C, size 1 in C++
     1.9 +             */
    1.10 +            int dummy;
    1.11              /* No Cocoa window events yet */
    1.12          } cocoa;
    1.13  #endif