On 21 Nov, 2007, at 11:38 , Tom Lane wrote:

Brandon Maust <[EMAIL PROTECTED]> writes:
yes, it is sucking it in (via handy.h), at least in 10.5:

#if 1 /* always on Mac OS X */
#  include <stdbool.h>
#  ifndef HAS_BOOL
#    define HAS_BOOL 1
#  endif
#endif

Nasty.  I'm still surprised that there's no redefinition warning for
"false" and "true", but that's not too important, since the cast to
(bool) isn't really critical.  I guess what we need is as attached;
would you try it and see?

yep, fixes it for me with 8.2.5 and 8.3b3.

everything works even allowing that -arch warning, but it's not the clean compiling experience I'm used to from postgresql...

Thanks, Tom.

--
Brandon

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to