summaryrefslogtreecommitdiff
path: root/uconfig.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-09-14 14:03:31 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2011-09-16 13:32:37 +0200
commitbd31be4baa3ee68abdb92c0db3200efe0fad903b (patch)
tree064b376e87748cf3ceee2c1a5fae468146e0b9de /uconfig.h
parent28051109dbd5d27f591646b8e36a5f6be33854d6 (diff)
downloadperl-bd31be4baa3ee68abdb92c0db3200efe0fad903b.tar.gz
Probe for <stdbool.h>, and if found use it in handy.h
This means that the core uses the compiler's bool type if one exists. This avoids potential problems of clashes between perl's own implementation of bool and the compiler's bool type, which otherwise occur when one attempts to include headers which in turn include <stdbool.h>. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Diffstat (limited to 'uconfig.h')
-rw-r--r--uconfig.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/uconfig.h b/uconfig.h
index a74501732e..4d0b3f29e4 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -709,6 +709,12 @@
*/
/*#define I_SFIO / **/
+/* I_STDBOOL:
+ * This symbol, if defined, indicates that <stdbool.h> exists and should
+ * be included.
+ */
+/*#define I_STDBOOL / **/
+
/* I_STDDEF:
* This symbol, if defined, indicates that <stddef.h> exists and should
* be included.
@@ -4696,6 +4702,6 @@
#endif
/* Generated from:
- * 31a462b40046313b877734092b49f853190d949d609c56fc0f03085f3aedc382 config_h.SH
- * 9ea5c7e8b0b32c76caab5a89a371b8cdce6efcf690a5a74962b9b856fab49fed uconfig.sh
+ * e73735b63cc1e7874e6402c8348f594458a1f16be24703d0e14ba9516f2b20df config_h.SH
+ * 572c1e5ebb7563dcf5fa02c1ff0b1ca588d8aab1d52e0ffed24245c95dc7a137 uconfig.sh
* ex: set ro: */