diff options
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/defines.h b/src/defines.h index 115ddf0..5b37427 100644 --- a/src/defines.h +++ b/src/defines.h @@ -27,8 +27,8 @@ #define USAGE_STR "Usage: " NAME -#ifdef DEBUG -#define UNREACHABLE printf("unreachable code reached\n" __FILE__ ":L%i\n", __LINE__); exit(0); +#ifndef NDEBUG +#define UNREACHABLE printf("!!!UNREACHABLE CODE REACHED!!!\n" __FILE__ ":L%i\n", __LINE__); exit(0); #else #define UNREACHABLE #endif |