From: Willy Tarreau Date: Fri, 9 Sep 2022 15:46:45 +0000 (+0200) Subject: BUILD: flags: fix the fallback macros for missing stdio X-Git-Tag: v2.7-dev6~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bde43779b51b98c7d2ba8e9f34dca5897a3030;p=thirdparty%2Fhaproxy.git BUILD: flags: fix the fallback macros for missing stdio The fallback macros for when stdio is not there didn't have the "..." and were causing build issues on platforms with stricter dependencies between includes. --- diff --git a/include/haproxy/show_flags-t.h b/include/haproxy/show_flags-t.h index 5b14b63297..692dd3b562 100644 --- a/include/haproxy/show_flags-t.h +++ b/include/haproxy/show_flags-t.h @@ -91,8 +91,8 @@ #else /* EOF not defined => no stdio, do nothing */ -#define __APPEND_FLAG(_buf, _len, _del, _flg, _val, _nam) do { } while (0) -#define __APPEND_ENUM(_buf, _len, _del, _flg, _msk, _val, _nam) do { } while (0) +#define __APPEND_FLAG(_buf, _len, _del, _flg, _val, _nam, ...) do { } while (0) +#define __APPEND_ENUM(_buf, _len, _del, _flg, _msk, _val, _nam, ...) do { } while (0) #endif /* EOF */