diff --git a/include/global.h b/include/global.h index 375b92de1a..94a2c9dc6e 100644 --- a/include/global.h +++ b/include/global.h @@ -200,4 +200,6 @@ static const float INF = 2000000000.0f; using std::isnan; #endif +#define CRASH(msg, ...) OSPanic(__FILE__, __LINE__, msg, __VA_ARGS__) + #endif