diff options
Diffstat (limited to 'src/debug.h')
| -rw-r--r-- | src/debug.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h index 356b6cb..907498b 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,3 +1,10 @@ #pragma once -#define DEBUG(X) +// Toggles global debug +// #define ENABLE_DEBUG + +#ifdef ENABLE_DEBUG +#define debug(x) (x) +#else +#define debug(x) +#endif |
