summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-16 22:29:27 +0000
committerglx <glx@openttd.org>2008-05-16 22:29:27 +0000
commit670eca936f0fecfd02c7fd118f4b71707ec2e098 (patch)
treefb906fe0e982e8c68bc124d928404a8fce415e69 /src
parent180272ed8628e2af038750ee2ddeea8d33b931a4 (diff)
downloadopenttd-670eca936f0fecfd02c7fd118f4b71707ec2e098.tar.xz
(svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff
Diffstat (limited to 'src')
-rw-r--r--src/music/dmusic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp
index 4c4707257..cefb96a55 100644
--- a/src/music/dmusic.cpp
+++ b/src/music/dmusic.cpp
@@ -5,6 +5,9 @@
#ifdef WIN32_ENABLE_DIRECTMUSIC_SUPPORT
#include "../stdafx.h"
+#ifdef WIN32_LEAN_AND_MEAN
+ #undef WIN32_LEAN_AND_MEAN // Don't exclude rarely-used stuff from Windows headers
+#endif
#include "../debug.h"
#include "../win32.h"
#include "dmusic.h"