diff --git a/src/debug.h b/src/debug.h new file mode 100644 index 00000000..a8d1cb12 --- /dev/null +++ b/src/debug.h @@ -0,0 +1,7 @@ +#ifdef _MSC_VER +#define BREAKPOINT __debugbreak +#elif defined(__GNUC__) +#define BREAKPOINT __builtin_trap +#else +#error What the fuck is this compiler +#endif \ No newline at end of file