added some error messages to the compile-time checks

svn-id: r43076
This commit is contained in:
Norbert Lange 2009-08-05 18:57:13 +00:00
parent 025846020b
commit 621071ea9e
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@
// see if all engines using this class are DISABLED // see if all engines using this class are DISABLED
#if !defined(ENABLE_KYRA) #if !defined(ENABLE_KYRA)
#error trying to include the MaxTrax Header with no engine enabled that uses it
// normal Header Guard // normal Header Guard
#elif !defined SOUND_MODS_MAXTRAX_H #elif !defined SOUND_MODS_MAXTRAX_H
@ -253,4 +254,4 @@ private:
}; };
} // End of namespace Audio } // End of namespace Audio
#endif #endif // !defined SOUND_MODS_MAXTRAX_H

View File

@ -25,6 +25,7 @@
// see if all engines using this class are DISABLED // see if all engines using this class are DISABLED
#if !defined(ENABLE_SCUMM) #if !defined(ENABLE_SCUMM)
#error trying to include the Tfmx Header with no engine enabled that uses it
// normal Header Guard // normal Header Guard
#elif !defined(SOUND_MODS_TFMX_H) #elif !defined(SOUND_MODS_TFMX_H)