summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-04-07 12:02:04 +0200
committerglx22 <glx22@users.noreply.github.com>2020-06-05 19:36:05 +0200
commit4d04009d12932270da0e492b155cb2e699389c30 (patch)
treee29a7242195bb91a08fc0ca4bc82ecd399b700f0 /src/music
parent4218ebc932950a8751146784ea5dad127bc27b10 (diff)
downloadopenttd-4d04009d12932270da0e492b155cb2e699389c30.tar.xz
Codechange: remove #ifdef from .cpp files to exclude features
With CMake, these files are simply not compiled to start with.
Diffstat (limited to 'src/music')
-rw-r--r--src/music/dmusic.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp
index 780666142..b7bee4a4f 100644
--- a/src/music/dmusic.cpp
+++ b/src/music/dmusic.cpp
@@ -7,8 +7,6 @@
/** @file dmusic.cpp Playing music via DirectMusic. */
-#ifdef WIN32_ENABLE_DIRECTMUSIC_SUPPORT
-
#define INITGUID
#include "../stdafx.h"
#ifdef WIN32_LEAN_AND_MEAN
@@ -1241,6 +1239,3 @@ void MusicDriver_DMusic::SetVolume(byte vol)
{
_playback.new_volume = vol;
}
-
-
-#endif /* WIN32_ENABLE_DIRECTMUSIC_SUPPORT */