Re: [PATCHES] Reorganization of spinlock defines

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: [PATCHES] Reorganization of spinlock defines
Дата
Msg-id 20030912010911.V57860@ganymede.hub.org
обсуждение исходный текст
Ответ на Re: [PATCHES] Reorganization of spinlock defines  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCHES] Reorganization of spinlock defines  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
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__)

?


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Reorganization of spinlock defines
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Reorganization of spinlock defines