diff options
author | Norbert Lange | 2009-08-05 18:57:13 +0000 |
---|---|---|
committer | Norbert Lange | 2009-08-05 18:57:13 +0000 |
commit | 621071ea9e0466b7b8b6b3b0237ac027ebaaeb0d (patch) | |
tree | 88107a7607642c49227b4a42cf6f1257f2539ce4 /sound/mods | |
parent | 025846020bec48d6d00dd38dac77839f25adf5ef (diff) | |
download | scummvm-rg350-621071ea9e0466b7b8b6b3b0237ac027ebaaeb0d.tar.gz scummvm-rg350-621071ea9e0466b7b8b6b3b0237ac027ebaaeb0d.tar.bz2 scummvm-rg350-621071ea9e0466b7b8b6b3b0237ac027ebaaeb0d.zip |
added some error messages to the compile-time checks
svn-id: r43076
Diffstat (limited to 'sound/mods')
-rw-r--r-- | sound/mods/maxtrax.h | 3 | ||||
-rw-r--r-- | sound/mods/tfmx.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sound/mods/maxtrax.h b/sound/mods/maxtrax.h index 524d5ba9a6..c60f73c684 100644 --- a/sound/mods/maxtrax.h +++ b/sound/mods/maxtrax.h @@ -25,6 +25,7 @@ // see if all engines using this class are DISABLED #if !defined(ENABLE_KYRA) +#error trying to include the MaxTrax Header with no engine enabled that uses it // normal Header Guard #elif !defined SOUND_MODS_MAXTRAX_H @@ -253,4 +254,4 @@ private: }; } // End of namespace Audio -#endif +#endif // !defined SOUND_MODS_MAXTRAX_H diff --git a/sound/mods/tfmx.h b/sound/mods/tfmx.h index 707eb5952f..93979ae662 100644 --- a/sound/mods/tfmx.h +++ b/sound/mods/tfmx.h @@ -25,6 +25,7 @@ // see if all engines using this class are DISABLED #if !defined(ENABLE_SCUMM) +#error trying to include the Tfmx Header with no engine enabled that uses it // normal Header Guard #elif !defined(SOUND_MODS_TFMX_H) |