Skip to content

Commit

Permalink
MacOS SDK15 has LIST_INIT?FOREACH defined; undefine them.
Browse files Browse the repository at this point in the history
  • Loading branch information
z-dule committed Oct 30, 2024
1 parent ba6b8b2 commit a4b2e10
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/zcall/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@
#include <readline/readline.h>
#include <readline/history.h>
#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 <re.h>
#include <avs.h>
#include "options.h"
Expand Down

0 comments on commit a4b2e10

Please sign in to comment.