comparison src/audio/windx5/directx.h @ 4549:80277d92551b

Fixed bug 993 GCC supports unnamed unions now. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Jul 2010 11:15:02 -0700
parents 1bceff8f008f
children 327f181542f1
comparison
equal deleted inserted replaced
4548:b135d19f9764 4549:80277d92551b
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>