diff options
author | withmorten <morten.with@gmail.com> | 2021-01-22 21:10:49 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-22 21:10:49 +0100 |
commit | 3b4e79f073a5b4c19723d913ddd4aa9a17abfce3 (patch) | |
tree | f02980dacd4eb35d9675d83da835d5d807433b38 | |
parent | cw: remove extras folder (diff) | |
download | re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.tar re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.tar.gz re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.tar.bz2 re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.tar.lz re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.tar.xz re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.tar.zst re3-3b4e79f073a5b4c19723d913ddd4aa9a17abfce3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/sampman_miles.cpp | 5 | ||||
-rw-r--r-- | src/core/common.h | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp index eccc9114..11e2b0ff 100644 --- a/src/audio/sampman_miles.cpp +++ b/src/audio/sampman_miles.cpp @@ -1,4 +1,6 @@ -#if defined(AUDIO_MSS) || defined (__MWERKS__) +#include "common.h" + +#ifdef AUDIO_MSS #include <shlobj.h> #include <shlguid.h> @@ -8,7 +10,6 @@ #include "eax-util.h" #include "mss.h" -#include "common.h" #include "sampman.h" #include "AudioManager.h" #include "MusicManager.h" diff --git a/src/core/common.h b/src/core/common.h index 596c47ee..33d8910d 100644 --- a/src/core/common.h +++ b/src/core/common.h @@ -16,6 +16,7 @@ #include <math.h> #ifdef __MWERKS__ +#define AUDIO_MSS #define RWLIBS // codewarrior doesn't support project level defines - so not even this is enough, but still catches most ifdefs #endif |