From 80edff80922e64edb2dee184fcbc4d667aff40ff Mon Sep 17 00:00:00 2001 From: zzy <2450266535@qq.com> Date: Tue, 27 Aug 2024 09:24:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20=E4=BF=AE=E5=A4=8D=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E7=AC=A6=E5=8F=B7=E5=A4=84=E7=90=86=E5=92=8C=E5=A4=B4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=8C=85=E5=90=AB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正了Makefile中目标文件名称的错误引用,以解决链接错误。同时,调整了debug.h中的预处理器宏条件, 以确保正确处理调试断言。 --- debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.h b/debug.h index 4dec59a..8e94b69 100644 --- a/debug.h +++ b/debug.h @@ -70,7 +70,7 @@ #define Log(format, ...) (NULL) #endif -#ifdef __DEBUG_LEVEL__ >= 1 +#if __DEBUG_LEVEL__ >= 1 #define Assert(cond, format, ...) \ do { \ if (!(cond)) { \