recommit debug.h

This commit is contained in:
georgemoralis 2023-08-03 13:43:42 +03:00
parent abd3dd4b5a
commit 53ce038893
1 changed files with 7 additions and 0 deletions

7
src/debug.h Normal file
View File

@ -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