diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-09-14 14:03:31 +0200 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2011-09-16 13:32:37 +0200 |
commit | bd31be4baa3ee68abdb92c0db3200efe0fad903b (patch) | |
tree | 064b376e87748cf3ceee2c1a5fae468146e0b9de /win32 | |
parent | 28051109dbd5d27f591646b8e36a5f6be33854d6 (diff) | |
download | perl-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 'win32')
-rw-r--r-- | win32/config.ce | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.gc64 | 1 | ||||
-rw-r--r-- | win32/config.gc64nox | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 | ||||
-rw-r--r-- | win32/config.vc64 | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/win32/config.ce b/win32/config.ce index 47eeb71968..4f76437c6e 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -657,6 +657,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' +i_stdbool='undef' i_stddef='define' i_stdlib='define' i_string='define' diff --git a/win32/config.gc b/win32/config.gc index c49a27bfca..8c00871b01 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -665,6 +665,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' +i_stdbool='undef' i_stddef='define' i_stdlib='define' i_string='define' diff --git a/win32/config.gc64 b/win32/config.gc64 index 52185f00d9..d225638aad 100644 --- a/win32/config.gc64 +++ b/win32/config.gc64 @@ -666,6 +666,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' +i_stdbool='undef' i_stddef='define' i_stdlib='define' i_string='define' diff --git a/win32/config.gc64nox b/win32/config.gc64nox index 9a797a1662..4ad66faf32 100644 --- a/win32/config.gc64nox +++ b/win32/config.gc64nox @@ -666,6 +666,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' +i_stdbool='undef' i_stddef='define' i_stdlib='define' i_string='define' diff --git a/win32/config.vc b/win32/config.vc index 3495a2369c..74ae27552b 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -665,6 +665,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' +i_stdbool='undef' i_stddef='define' i_stdlib='define' i_string='define' diff --git a/win32/config.vc64 b/win32/config.vc64 index c9b1cb77cb..ac5e61e17e 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -665,6 +665,7 @@ i_sgtty='undef' i_shadow='undef' i_socks='undef' i_stdarg='define' +i_stdbool='undef' i_stddef='define' i_stdlib='define' i_string='define' |