From a4b2e1047663a486dfd764d636b6e5d999b89813 Mon Sep 17 00:00:00 2001 From: Dusan Stevanovic Date: Tue, 22 Oct 2024 16:03:29 +0200 Subject: [PATCH] MacOS SDK15 has LIST_INIT?FOREACH defined; undefine them. --- tools/zcall/io.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/zcall/io.c b/tools/zcall/io.c index ec4baf90a..67f074b44 100644 --- a/tools/zcall/io.c +++ b/tools/zcall/io.c @@ -34,6 +34,15 @@ #include #include #endif +/* MacOS SDK 15 has a LIST_INIT and + * LIST_FOREACH defined + */ +#ifdef LIST_INIT +#undef LIST_INIT +#endif +#ifdef LIST_FOREACH +#undef LIST_FOREACH +#endif #include #include #include "options.h"