Re: __cpu__ defines

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: __cpu__ defines
Дата
Msg-id Pine.LNX.4.44.0309121825130.1131-100000@peter.localdomain
обсуждение исходный текст
Ответ на __cpu__ defines  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: __cpu__ defines  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Need NetBSD thread tester
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: Another small bug (pg_autovacuum)