Re: Problem with 7.1.3 and -DUSE_AUSTRALIAN_RULES

Justin Clift <aa2@bigpond.net.au>

From: Justin <aa2@bigpond.net.au>
To: lockhart@fourpalms.org, Justin Clift <justin@postgresql.org>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-bugs@postgresql.org
Date: 2001-11-19T06:01:16Z
Lists: pgsql-bugs
Hi Thomas,

Thanks for this.  Just used CFLAGS='-DUSE_AUSTRALIAN_RULES=1' and it compiled 
fine.

:-)

Regards and best wishes,

Justin Clift

On Wed, 14 Nov 2001 18:38, Thomas Lockhart wrote:
> ...
>
> > Is there no way to get this working?
>
> Sure there is. The code in 7.1.x needs to have USE_AUSTRALIAN_RULES
> evaluate to "true" (there is an #if, not #ifdef), so you should set it
> equal to one (rather than just have it exist).
>
> I think that "-DUSE_AUSTRALIAN_RULES=1" should work; you can set it as
> CFLAGS+=... in Makefile.local, or continue to try to get an environment
> variable to do what you want (I do not use that technique myself, so
> can't help with the nuances, but maybe export CFLAGS="..." with some
> quotes will do it).
>
>                     - Thomas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html