Add wincrt setting to libraries.

This commit is contained in:
Christoffer Lerno
2024-08-02 20:15:40 +02:00
parent f8f116109a
commit 74b9971494
6 changed files with 26 additions and 4 deletions

View File

@@ -106,7 +106,7 @@
#define FATAL_ERROR(_string, ...) do { error_exit("FATAL ERROR %s -> in %s @ in %s:%d ", _string, __func__, __FILE__, __LINE__, ##__VA_ARGS__); } while(0)
#define ASSERT(_condition, _string, ...) while (!(_condition)) { FATAL_ERROR(_string, ##__VA_ARGS__); }
#define WARNING(_string, ...) do { eprintf("WARNING: "); eprintf(_string, ##__VA_ARGS__); eprintf("\n"); } while(0)
#define UNREACHABLE FATAL_ERROR("Should be unreachable");
#define TODO FATAL_ERROR("TODO reached");