Re: Alpha test - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Alpha test
Date
Msg-id 200312222355.hBMNthQ09144@candle.pha.pa.us
Whole thread Raw
In response to Re: Alpha test  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-patches
Alvaro Herrera wrote:
> On Mon, Dec 22, 2003 at 06:36:32PM -0500, Bruce Momjian wrote:
> > Seems we have to test for __alpha and __alpha_.  This applied patch
> > makes that consistent.
>
> Won't something like the following work?
>
> #ifdef(__alpha)
> #define __alpha__ 1
> #endif
>
> so you only have to test for one of them?  Just an idea.

Yes, I thought of that.  Where should we put it?  c.h?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Alpha test
Next
From: Tom Lane
Date:
Subject: Re: Doc patch--clarifying $1 in PL/PgSQL