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 /Porting/Glossary | |
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 'Porting/Glossary')
-rw-r--r-- | Porting/Glossary | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Porting/Glossary b/Porting/Glossary index 9134dfa1b6..ceed6a5e58 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -3164,6 +3164,11 @@ i_stdarg (i_varhdr.U): indicates to the C program that <stdarg.h> exists and should be included. +i_stdbool (i_stdbool.U): + This variable conditionally defines the I_STDBOOL symbol, which + indicates to the C program that <stdbool.h> exists and should + be included. + i_stddef (i_stddef.U): This variable conditionally defines the I_STDDEF symbol, which indicates to the C program that <stddef.h> exists and should |