mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add wincrt setting to libraries.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user