This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add probe for stdbool.h
authorH.Merijn Brand <merijn@lx09.procura.nl>
Fri, 16 Sep 2011 11:26:44 +0000 (13:26 +0200)
committerH.Merijn Brand <merijn@lx09.procura.nl>
Fri, 16 Sep 2011 11:26:44 +0000 (13:26 +0200)
commit19d22ecf926f971d6fa2596f0c538c34cf96d4fe
tree60e37f4e79ff77d5f83de15368a6bc7babe4289d
parentb5b0e3014e10f5c75ec7b76d135866046d206d8d
Add probe for stdbool.h

Backport from Nicholas' aec14df292f1ec7cd254f5a5a7fb4827bab2b5cd:

    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>.
U/perl/i_stdbool.U [new file with mode: 0644]