setup_once.h: tighten requirements for stdbool.h header inclusion
authorYang Tse <yangsita@gmail.com>
Sat, 14 Apr 2012 13:41:38 +0000 (15:41 +0200)
committerYang Tse <yangsita@gmail.com>
Sat, 14 Apr 2012 13:41:38 +0000 (15:41 +0200)
commit7d4ed0b10e66f5a4bf8d215be50acfa81f02a3dd
tree5b0661fd16f230df7283d787622e8708435f0535
parent48d13b44c660cdefaf1a921c974f43ee4df346a2
setup_once.h: tighten requirements for stdbool.h header inclusion

Include stdbool.h only when it is available and configure is capable of
detecting a proper 'bool' data type when the header is included.

Compilation fix for old or unpatched versions of XL C compiler.

Report: http://curl.haxx.se/mail/archive-2012-04/0022.html
lib/setup_once.h