From: Michal Ruprich Date: Fri, 17 Jan 2025 11:37:57 +0000 (+0100) Subject: bool is a keyword in C23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4b926dcdce96b0f2cc0dc7744e95747b233500a;p=thirdparty%2Frsync.git bool is a keyword in C23 --- diff --git a/wildtest.c b/wildtest.c index bea4cebb..482cdf17 100644 --- a/wildtest.c +++ b/wildtest.c @@ -32,7 +32,9 @@ int fnmatch_errors = 0; int wildmatch_errors = 0; +#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L typedef char bool; +#endif int output_iterations = 0; int explode_mod = 0;