include/SDL_syswm.h
changeset 9153 b0a76d1f4a56
parent 9099 5bbfdfa38bfc
child 9422 286c854c1d5b
child 9521 4c218c80b34d
     1.1 --- a/include/SDL_syswm.h	Thu Sep 25 20:56:27 2014 +0200
     1.2 +++ b/include/SDL_syswm.h	Tue Sep 30 11:20:50 2014 -0700
     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