From bcda6de2df97ac7989bbbe0e0cbb49f2b18eb3ec Mon Sep 17 00:00:00 2001 From: maxiao Date: Fri, 7 Jun 2024 15:11:41 +0800 Subject: [PATCH] Solve the macos compilation issue (#1077) --- portable/ThirdParty/GCC/Posix/port.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/portable/ThirdParty/GCC/Posix/port.c b/portable/ThirdParty/GCC/Posix/port.c index 6a7837d79..919888080 100644 --- a/portable/ThirdParty/GCC/Posix/port.c +++ b/portable/ThirdParty/GCC/Posix/port.c @@ -61,7 +61,9 @@ #include #include #include -#include +#ifndef __APPLE__ + #include +#endif #include #include