diff options
author | Matthew Hoops | 2012-06-15 22:45:44 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-06-15 22:48:26 -0400 |
commit | 5230a0d61795e2855625a43d60dc3bc2ed83fc3d (patch) | |
tree | 1ee9d3b9610028113d38480f85d279c0d8cc6d60 | |
parent | 230a0edc2d966e5990115b5669b5236d2d41618e (diff) | |
download | scummvm-rg350-5230a0d61795e2855625a43d60dc3bc2ed83fc3d.tar.gz scummvm-rg350-5230a0d61795e2855625a43d60dc3bc2ed83fc3d.tar.bz2 scummvm-rg350-5230a0d61795e2855625a43d60dc3bc2ed83fc3d.zip |
AUDIO: Make sure maxtrax and tfmx are compiled in with dynamic modules
-rw-r--r-- | audio/mods/maxtrax.h | 7 | ||||
-rw-r--r-- | audio/mods/tfmx.h | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/audio/mods/maxtrax.h b/audio/mods/maxtrax.h index c45a21a255..ffb176c241 100644 --- a/audio/mods/maxtrax.h +++ b/audio/mods/maxtrax.h @@ -20,11 +20,8 @@ * */ -// see if all engines using this class are DISABLED -#if !defined(ENABLE_KYRA) - -// normal Header Guard -#elif !defined(AUDIO_MODS_MAXTRAX_H) +// Only compiled if Kyra is built-in or we're building for dynamic modules +#if !defined(AUDIO_MODS_MAXTRAX_H) && (defined(ENABLE_KYRA) || defined(DYNAMIC_MODULES)) #define AUDIO_MODS_MAXTRAX_H // #define MAXTRAX_HAS_MODULATION diff --git a/audio/mods/tfmx.h b/audio/mods/tfmx.h index 4174fbfb27..ebe1172278 100644 --- a/audio/mods/tfmx.h +++ b/audio/mods/tfmx.h @@ -20,11 +20,8 @@ * */ -// see if all engines using this class are DISABLED -#if !defined(ENABLE_SCUMM) - -// normal Header Guard -#elif !defined(AUDIO_MODS_TFMX_H) +// Only compiled if SCUMM is built-in or we're building for dynamic modules +#if !defined(AUDIO_MODS_TFMX_H) && (defined(ENABLE_SCUMM) || defined(DYNAMIC_MODULES)) #define AUDIO_MODS_TFMX_H #include "audio/mods/paula.h" |