]> granicus.if.org Git - postgresql/commit
Suppress definitions of 'true' and 'false' macros if __cplusplus.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Aug 2001 23:02:25 +0000 (23:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Aug 2001 23:02:25 +0000 (23:02 +0000)
commitc92b450891cc03d1656fb314664fc33632f4bd3e
tree7bbba9cb83d21b4b991b3596031e124abfcfcc78
parent814f40cf43fc899e854b2c09219c5285da3eda04
Suppress definitions of 'true' and 'false' macros if __cplusplus.
Since we're assuming a C++ compiler knows what 'bool' is, seems we
should assume it knows 'true' and 'false' too.  This prevents problems
on some systems, per report from Leandro Fanzone.
src/include/c.h