diff include/SDL_syswm.h @ 4902:50d0bff24d81

Make the union nameless to reduce the complexity of the API. (Are there any compilers still in use that don't support this?)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 29 Sep 2010 21:13:52 -0700
parents 69d9db65f248
children f50c7996d925
line wrap: on
line diff
--- a/include/SDL_syswm.h	Mon Sep 27 01:30:42 2010 -0700
+++ b/include/SDL_syswm.h	Wed Sep 29 21:13:52 2010 -0700
@@ -133,7 +133,7 @@
             /* No Cocoa window events yet */
         } cocoa;
 #endif
-    } msg;
+    } /*msg*/;
 };
 
 /**
@@ -175,7 +175,7 @@
             NSWindow *window;
         } cocoa;
 #endif
-    } info;
+    } /*info*/;
 };
 
 #endif /* SDL_PROTOTYPES_ONLY */