diff --git a/debug.h b/debug.h index 8297c68..b16533d 100644 --- a/debug.h +++ b/debug.h @@ -66,4 +66,9 @@ extern int g_debug_log_lvl; }\ } while(0) +#define UNREACHABLE(...) do {\ + LOG_ERROR(__VA_ARGS__);\ + abort()\ +} while(0) + #endif // !CUTES_DEBUG_H