Re: [PATCHES] Reorganization of spinlock defines - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] Reorganization of spinlock defines
Date
Msg-id 200309120414.h8C4EKS06891@candle.pha.pa.us
Whole thread Raw
In response to Re: [PATCHES] Reorganization of spinlock defines  ("Marc G. Fournier" <scrappy@postgresql.org>)
List pgsql-hackers
Marc G. Fournier wrote:
>
> On Thu, 11 Sep 2003, Bruce Momjian wrote:
>
> > I just learned from Larry that Unixware defines intel as i386, not
> > __i386 or __i386__, at least of the native SCO compiler that he uses.
>
> could we put something in the various port files to standardize this?  ie.
> in unixware.h, add somethinglike:
>
> #ifdef i386
> #define __i386__
> #endif
>
> just so that 'special cases' are centralized in the ports file, and the
> mainstream code doesn't have:
>
> #if defined(i386) || defined(__i386) || defined(__i386__)

Yep, that's what Tom wants and I am doing that now.  I sent a patch to
Larry for testing.

--
  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-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: [PATCHES] Reorganization of spinlock defines
Next
From: "Marc G. Fournier"
Date:
Subject: Re: [PATCHES] Reorganization of spinlock defines