Re: __cpu__ defines - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: __cpu__ defines
Date
Msg-id Pine.LNX.4.44.0309121825130.1131-100000@peter.localdomain
Whole thread Raw
In response to __cpu__ defines  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: __cpu__ defines
List pgsql-hackers
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@gmx.net



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Need NetBSD thread tester
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: Another small bug (pg_autovacuum)