diff options
Diffstat (limited to 'src/devices/oprom/x86emu/debug.h')
-rw-r--r-- | src/devices/oprom/x86emu/debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/oprom/x86emu/debug.h b/src/devices/oprom/x86emu/debug.h index ba180bab40..1b2c3a3f1c 100644 --- a/src/devices/oprom/x86emu/debug.h +++ b/src/devices/oprom/x86emu/debug.h @@ -198,6 +198,12 @@ #define DB(x) #endif +#ifdef DEBUG +#define X86EMU_DEBUG_ONLY(x) x +#else +#define X86EMU_DEBUG_ONLY(x) X86EMU_UNUSED(x) +#endif + /*-------------------------- Function Prototypes --------------------------*/ #ifdef __cplusplus |