From 2cfac5c332b1397c27be45e99e9c5cbae53d3881 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 15 Aug 2020 14:53:25 +0200 Subject: [PATCH] Fix build issue in C11 for new macros. --- m-list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m-list.h b/m-list.h index abf4cb0f..0a4f82fe 100644 --- a/m-list.h +++ b/m-list.h @@ -700,7 +700,7 @@ { \ assert (file != NULL && list != NULL); \ fputc ('[', file); \ - M_C(name, _it_t) it; \ + it_t it; \ for (M_C(name, _it)(it, list) ; \ !M_C(name, _end_p)(it); \ M_C(name, _next)(it)){ \ @@ -780,7 +780,7 @@ m_serial_local_t local; \ bool first_done = false; \ ret = f->m_interface->write_array_start(local, f, 0); \ - M_C(name, _it_t) it; \ + it_t it; \ for (M_C(name, _it)(it, list) ; \ !M_C(name, _end_p)(it); \ M_C(name, _next)(it)){ \