From 53ce03889393e51659b53bc98aa93a3ab60aba8e Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 3 Aug 2023 13:43:42 +0300 Subject: [PATCH] recommit debug.h --- src/debug.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/debug.h 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