Re: __cpu__ defines

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: __cpu__ defines
Date: 2003-09-12 16:26:35
Message-ID: Pine.LNX.4.44.0309121825130.1131-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian writes:

> As part of my spinlock testing, I noticed that we test for __cpu__ when
> using gcc, and __cpu when not using gcc. However, I see that my i386
> gcc 2.95 defines both (shown using src/tools/ccsym):

gcc only documents the __foo__ version, so there is a small reason to lean
in that direction if you want to make it uniform.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew T. O'Connor 2003-09-12 16:26:52 Re: Another small bug (pg_autovacuum)
Previous Message Bruce Momjian 2003-09-12 16:18:52 Need NetBSD thread tester

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-09-12 16:29:35 Re: __cpu__ defines
Previous Message Nigel J. Andrews 2003-09-12 16:22:44 tsearch pfree error