This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use a real compile to test for stdbool.h.
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 21 Sep 2011 16:02:18 +0000 (12:02 -0400)
committerAndy Dougherty <doughera@lafayete.edu>
Wed, 21 Sep 2011 16:05:10 +0000 (12:05 -0400)
commita814b14ac660ea88ee04e4a35778db12bd085c6a
treefcf9749d981c750c1a69bc0a0edb94d89bb52eda
parentcf3c5365bc3a4d99da01918e2a5dfa7880b8328a
Use a real compile to test for  stdbool.h.

On some Solaris systems, <stdbool.h> is present, but will give an
error if used by a compiler that is not sufficiently c99-compliant.
Check for this by including <stdbool.h> and trying to compile a
short program that uses bool.
U/perl/i_stdbool.U