Misc improvements

This commit is contained in:
krzosa
2025-12-28 10:29:05 +01:00
parent 1011c63494
commit 00442da5dd
6 changed files with 67 additions and 39 deletions

View File

@@ -66,6 +66,16 @@
#define COMPILER_GCC 0
#endif
#ifndef DEBUG_BUILD
#define DEBUG_BUILD 1
#endif
#if DEBUG_BUILD
#define IF_DEBUG(x) x
#else
#define IF_DEBUG(x)
#endif
#if OS_WINDOWS
#define BREAK() __debugbreak()
#elif OS_LINUX