> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 11:05:34 up  1:45,  1 user,  load average: 0.47, 0.32, 0.25
This commit is contained in:
tracer-ics2023
2024-09-11 11:05:35 +08:00
committed by zzy
parent 5dbe97abb7
commit b2d3696689

View File

@ -45,7 +45,8 @@ int vsnprintf(char *out, size_t n, const char *fmt, va_list ap) {
return rvsnprintf(out, n, fmt, ap);
}
static inline int fmt_d(char* out, size_t n, const char* fmt, va_list ap) {
__attribute__((noinline))
static int fmt_d(char* out, size_t n, const char* fmt, va_list ap) {
char buf[16];
int in = va_arg(ap, int);
if (in == 0) {