8
0
Files
perl-Bit-Vector/perl-Bit-Vector-gcc15.patch
2025-05-28 13:23:12 +00:00

14 lines
365 B
Diff

Index: ToolBox.h
===================================================================
--- ToolBox.h.orig
+++ ToolBox.h
@@ -85,7 +85,7 @@ typedef Z_longword *Z_longwordp
#undef TRUE
#define TRUE (0==0)
-#ifdef __cplusplus
+#if defined(__cplusplus) || (__STDC_VERSION__ >= 202311L)
typedef bool boolean;
#else
#ifdef MACOS_TRADITIONAL