]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Don't use 'bool' as a struct member name in help_config.c.
authorAndres Freund <andres@anarazel.de>
Wed, 12 Aug 2015 14:02:20 +0000 (16:02 +0200)
committerAndres Freund <andres@anarazel.de>
Sat, 15 Aug 2015 14:44:38 +0000 (16:44 +0200)
commitb6c28ee2efd75d7028716ef4432974ab79334cf8
tree6cf60bce52a8065708e0492859bbc1e537284674
parent96a7e3a2619cace4a9d710e308c2480c385adb60
Don't use 'bool' as a struct member name in help_config.c.

Doing so doesn't work if bool is a macro rather than a typedef.

Although c.h spends some effort to support configurations where bool is
a preexisting macro, help_config.c has existed this way since
2003 (b700a6), and there have not been any reports of
problems. Backpatch anyway since this is as riskless as it gets.

Discussion: 20150812084351.GD8470@awork2.anarazel.de
Backpatch: 9.0-master
src/backend/utils/misc/help_config.c