Fixed bug 993 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sun, 18 Jul 2010 10:51:25 -0700
branchSDL-1.2
changeset 4545 134c6707b767
parent 4544 3f2d351d8274
child 4546 6f0706a60146
Fixed bug 993 GCC supports unnamed unions now. :)
src/audio/windx5/directx.h
src/video/windx5/directx.h
--- a/src/audio/windx5/directx.h	Sun Jul 18 10:39:24 2010 -0700
+++ b/src/audio/windx5/directx.h	Sun Jul 18 10:51:25 2010 -0700
@@ -2,10 +2,6 @@
 #ifndef _directx_h
 #define _directx_h
 
-#ifdef __GNUC__
-#define NONAMELESSUNION
-#endif
-
 /* Include all of the DirectX 5.0 headers and adds any necessary tweaks */
 
 #define WIN32_LEAN_AND_MEAN
--- a/src/video/windx5/directx.h	Sun Jul 18 10:39:24 2010 -0700
+++ b/src/video/windx5/directx.h	Sun Jul 18 10:51:25 2010 -0700
@@ -2,10 +2,6 @@
 #ifndef _directx_h
 #define _directx_h
 
-#ifdef __GNUC__
-#define NONAMELESSUNION
-#endif
-
 /* Include all of the DirectX 5.0 headers and adds any necessary tweaks */
 
 #define WIN32_LEAN_AND_MEAN