You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
426 B
17 lines
426 B
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=76442
|
|
Gentoo-Bug: https://bugs.gentoo.org/420177
|
|
--- a/src/C_XS/ToolBox.h
|
|
+++ b/src/C_XS/ToolBox.h
|
|
@@ -93,7 +93,10 @@
|
|
#elif PERL_DARWIN
|
|
#define boolean bool
|
|
#else
|
|
- typedef enum { false = FALSE, true = TRUE } boolean;
|
|
+ typedef int boolean;
|
|
+ #ifndef I_STDBOOL
|
|
+ enum { false, true };
|
|
+ #endif
|
|
#endif
|
|
#endif
|
|
|