]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
bool is a keyword in C23
authorMichal Ruprich <mruprich@redhat.com>
Fri, 17 Jan 2025 11:37:57 +0000 (12:37 +0100)
committerAndrew Tridgell <andrew@tridgell.net>
Sat, 23 Aug 2025 07:14:26 +0000 (17:14 +1000)
wildtest.c

index bea4cebbe6a33e2dd21d1a1e1728f4bc2eaa15a2..482cdf1703c4b25c1f3a748391738cef2f96af38 100644 (file)
@@ -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;