summaryrefslogtreecommitdiff
path: root/src/music
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
commit6741af92d3d72ad5ccbe3308d4ae414f29f1b2ad (patch)
treefb906fe0e982e8c68bc124d928404a8fce415e69 /src/music
parent0cab2cade29ed00ee1c81da124ab757240f60bbb (diff)
downloadopenttd-6741af92d3d72ad5ccbe3308d4ae414f29f1b2ad.tar.xz
(svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff
Diffstat (limited to 'src/music')
-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"