Re: [HACKERS] Reorganization of spinlock defines

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Reorganization of spinlock defines
Date: 2003-09-12 04:10:57
Message-ID: 20030912010911.V57860@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


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__)

?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-12 04:14:20 Re: [HACKERS] Reorganization of spinlock defines
Previous Message Bruce Momjian 2003-09-12 04:09:50 Re: [HACKERS] Reorganization of spinlock defines

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-09-12 04:14:20 Re: [HACKERS] Reorganization of spinlock defines
Previous Message Bruce Momjian 2003-09-12 04:09:50 Re: [HACKERS] Reorganization of spinlock defines