More refactoring, getting rid of meson in favor of just powershell scripts

This commit is contained in:
2023-08-19 08:21:28 -04:00
parent aa928ff446
commit 32a910515e
25 changed files with 731 additions and 304 deletions

View File

@ -34,22 +34,22 @@ s32 assert_crash( char const* condition );
void process_exit( u32 code );
#if Build_Debug
#define GEN_FATAL( fmt, ... ) \
#define GEN_FATAL( ... ) \
do \
{ \
local_persist thread_local \
char buf[GEN_PRINTF_MAXLEN] = { 0 }; \
\
str_fmt(buf, GEN_PRINTF_MAXLEN, fmt, __VA_ARGS__); \
str_fmt(buf, GEN_PRINTF_MAXLEN, __VA_ARGS__); \
GEN_PANIC(buf); \
} \
while (0)
#else
# define GEN_FATAL( fmt, ... ) \
# define GEN_FATAL( ... ) \
do \
{ \
str_fmt_out_err( fmt, __VA_ARGS__ ); \
str_fmt_out_err( __VA_ARGS__ ); \
process_exit(1); \
} \
while (0)