1.修复printf宏错误。

This commit is contained in:
MacRsh
2023-12-15 20:05:03 +08:00
parent 9d26cd71c0
commit 764994c10c

View File

@@ -376,7 +376,7 @@ MR_WEAK int mr_printf_output(const char *buf, size_t size)
int mr_printf(const char *fmt, ...)
{
#ifndef MR_CFG_PRINTF_BUFSZ
#define MR_USING_PRINTF_BUFSZ (128)
#define MR_CFG_PRINTF_BUFSZ (128)
#endif /* MR_CFG_PRINTF_BUFSZ */
char buf[MR_CFG_PRINTF_BUFSZ] = {0};
va_list args;