comparison src/audio/windx5/directx.h @ 4545:134c6707b767 SDL-1.2

Fixed bug 993 GCC supports unnamed unions now. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Jul 2010 10:51:25 -0700
parents eada7e321df6
children
comparison
equal deleted inserted replaced
4544:3f2d351d8274 4545:134c6707b767
1 1
2 #ifndef _directx_h 2 #ifndef _directx_h
3 #define _directx_h 3 #define _directx_h
4
5 #ifdef __GNUC__
6 #define NONAMELESSUNION
7 #endif
8 4
9 /* Include all of the DirectX 5.0 headers and adds any necessary tweaks */ 5 /* Include all of the DirectX 5.0 headers and adds any necessary tweaks */
10 6
11 #define WIN32_LEAN_AND_MEAN 7 #define WIN32_LEAN_AND_MEAN
12 #include <windows.h> 8 #include <windows.h>