On Thu, Jun 22, 2017 at 2:09 PM, Kyotaro HORIGUCHI < horiguchi.kyot...@lab.ntt.co.jp> wrote:
> Hello, I have a maybe-silly question. > > What makes us have both TRUE/true or FALSE/false as constants of > bool? > > The following definitions in c.h didn't mess anything up. > > #define TRUE true > #define FALSE false > +1 I don't know any policy about where to use TRUE and FALSE over true and false. # NIL seems causing similar mess. > NIL is used for lists, while NULL is used for other pointers. That may cause redundant, but at least there is clear policy. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company