This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Probe for <stdbool.h>, and if found use it in handy.h
authorNicholas Clark <nick@ccl4.org>
Wed, 14 Sep 2011 12:03:31 +0000 (14:03 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Fri, 16 Sep 2011 11:32:37 +0000 (13:32 +0200)
commitbd31be4baa3ee68abdb92c0db3200efe0fad903b
tree064b376e87748cf3ceee2c1a5fae468146e0b9de
parent28051109dbd5d27f591646b8e36a5f6be33854d6
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>
19 files changed:
Configure
Cross/config.sh-arm-linux
Porting/Glossary
Porting/config.sh
Porting/config_H
config_h.SH
epoc/config.sh
handy.h
plan9/config_sh.sample
symbian/config.sh
uconfig.h
uconfig.sh
uconfig64.sh
win32/config.ce
win32/config.gc
win32/config.gc64
win32/config.gc64nox
win32/config.vc
win32/config.vc64