diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-11-09 12:19:31 -0600 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-28 14:44:14 +0000 |
commit | 338bec30054bb5d41cb6fdb5d37439f3c8124cad (patch) | |
tree | c9da020355b36dfd9821f4ff09a87698dd3aea07 /hw/xwin/winms.h | |
parent | fb170498abc746a850864b59db2ddcba7ee29215 (diff) |
hw/xwin: Fix for MinGW-w64 DirectDraw headers
mingw-w64 headers handle NONAMELESSUNION earlier than mingw.org's, so it must be
defined before including any headers. It also provides a ddraw.h, so use it.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xwin/winms.h')
-rw-r--r-- | hw/xwin/winms.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xwin/winms.h b/hw/xwin/winms.h index 5282fc982..32923e503 100644 --- a/hw/xwin/winms.h +++ b/hw/xwin/winms.h @@ -30,7 +30,6 @@ * Authors: Harold L Hunt II */ -#define NONAMELESSUNION #define DIRECTDRAW_VERSION 0x0300 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN |