commit 98d093b14ecf0e91fad7804a85151397f1e2b039
parent 267a27b5032188039ba23cca90eca8730c2f56c2
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Tue, 9 Dec 2025 19:23:53 +0100
mhd_sys_options: improved compatibility trick
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/incl_priv/mhd_sys_options.h b/src/incl_priv/mhd_sys_options.h
@@ -653,11 +653,9 @@
# define _Atomic /* empty */
# undef MHD_HAVE_C_CONSTEXPR
# if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 202311)
-# ifndef HAVE_STDBOOL_H
-# define bool _Bool
-# define true 1
-# define false 0
-# endif
+# define bool _Bool
+# define true 1
+# define false 0
# elif defined __has_include
# if __has_include (<stdbool.h>)
# define HAVE_STDBOOL_H 1