Re: boolean in C - Mailing list pgsql-hackers

From Grzegorz Jaskiewicz
Subject Re: boolean in C
Date
Msg-id 51E19A5C-0A7C-483C-A5AC-91D700079893@pointblue.com.pl
Whole thread Raw
In response to Re: boolean in C  (Bernd Helmle <mailings@oopsware.de>)
List pgsql-hackers
On 16 Jul 2009, at 12:52, Bernd Helmle wrote:

>
>
> --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.
For those guys, we could just put in c.h as it is now...



pgsql-hackers by date:

Previous
From: Rick Gigger
Date:
Subject: Re: Synch Rep for CommitFest 2009-07
Next
From: Grzegorz Jaskiewicz
Date:
Subject: Re: boolean in C