> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux
 19:48:39  up 1 day  5:24,  2 users,  load average: 1.69, 1.04, 0.90
This commit is contained in:
tracer-ysyx 2024-02-08 19:48:39 +08:00 committed by xinyangli
parent bd617e3c7b
commit f1667e6aec

View file

@ -25,11 +25,11 @@
__FILE__, __LINE__, __func__, ## __VA_ARGS__) __FILE__, __LINE__, __func__, ## __VA_ARGS__)
#define Warning(format, ...) \ #define Warning(format, ...) \
_Log(ANSI_FMT("[WARNING] %s:%d %s " format, ANSI_FG_YELLOW) "\n", \ _Log(ANSI_FMT("[WARNING] %s:%d %s() ", ANSI_FG_YELLOW) format "\n", \
__FILE__, __LINE__, __func__, ## __VA_ARGS__) __FILE__, __LINE__, __func__, ## __VA_ARGS__)
#define Error(format, ...) \ #define Error(format, ...) \
_Log(ANSI_FMT("[ERROR] %s:%d %s " format, ANSI_FG_RED) "\n", \ _Log(ANSI_FMT("[ERROR] %s:%d %s() ", ANSI_FG_RED) format "\n", \
__FILE__, __LINE__, __func__, ## __VA_ARGS__) __FILE__, __LINE__, __func__, ## __VA_ARGS__)
#define Assert(cond, format, ...) \ #define Assert(cond, format, ...) \