summaryrefslogtreecommitdiff
path: root/hw/xwin/winms.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-11-09 12:19:31 -0600
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-28 14:44:14 +0000
commit338bec30054bb5d41cb6fdb5d37439f3c8124cad (patch)
treec9da020355b36dfd9821f4ff09a87698dd3aea07 /hw/xwin/winms.h
parentfb170498abc746a850864b59db2ddcba7ee29215 (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.h1
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