Re: boolean in C - Mailing list pgsql-hackers

From Bernd Helmle
Subject Re: boolean in C
Date
Msg-id DB025C53340E9FA90F3A6F9B@amenophis
Whole thread Raw
In response to boolean in C  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Responses Re: boolean in C
Re: boolean in C
List pgsql-hackers

--On 16. Juli 2009 11:12:34 +0100 Grzegorz Jaskiewicz <gj@pointblue.com.pl> 
wrote:

> Now, for us, we will probably change it, but is there any reason for
> postgresql nowadays not to use stdbool.h, apart from fact, that no one
> made an effort ? Having said that, wouldn't it be easy as just replacing
> all TRUE/FALSE/BOOL with lowercase ones, and including stdbool from c.h ?

If i remember correctly, older SUN compilers doesn't have it. Don't know if 
that is still an issue yet, but we need to take care for non-gcc compilers 
i think.

-- 
Thanks
Bernd


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] pg_migrator not setting values of sequences?
Next
From: Petr Jelinek
Date:
Subject: Re: [PATCH] DefaultACLs