Codechange: remove #ifdef from .cpp files to exclude features
With CMake, these files are simply not compiled to start with.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user