]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: flags: fix the fallback macros for missing stdio
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Sep 2022 15:46:45 +0000 (17:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Sep 2022 15:46:45 +0000 (17:46 +0200)
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.

include/haproxy/show_flags-t.h

index 5b14b63297a7e2f9beb96e48b1183e300fb33fdb..692dd3b56242beae796acd5307a6d1d5242d6866 100644 (file)
@@ -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 */