summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/debug.h b/src/debug.h
index b21cd6434..8963c2efd 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -20,17 +20,9 @@
*/
#ifdef NO_DEBUG_MESSAGES
- #if defined(__GNUC__) && (__GNUC__ < 3)
- #define DEBUG(name, level, args...) { }
- #else
- #define DEBUG(name, level, ...) { }
- #endif
+ #define DEBUG(name, level, ...) { }
#else /* NO_DEBUG_MESSAGES */
- #if defined(__GNUC__) && (__GNUC__ < 3)
- #define DEBUG(name, level, args...) if ((level == 0) || ( _debug_ ## name ## _level >= level)) debug(#name, args)
- #else
- #define DEBUG(name, level, ...) if (level == 0 || _debug_ ## name ## _level >= level) debug(#name, __VA_ARGS__)
- #endif
+ #define DEBUG(name, level, ...) if (level == 0 || _debug_ ## name ## _level >= level) debug(#name, __VA_ARGS__)
extern int _debug_ai_level;
extern int _debug_driver_level;