| От | Tom Lane |
|---|---|
| Тема | Re: __cpu__ defines |
| Дата | |
| Msg-id | 11204.1063378460@sss.pgh.pa.us обсуждение |
| Ответ на | __cpu__ defines (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: __cpu__ defines
|
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> As part of my spinlock testing, I noticed that we test for __cpu__ when
> using gcc, and __cpu when not using gcc.
> ...
> So, I wonder if we should be testing _just_ for __cpu, perhaps starting
> in 7.5.
I might be all wet on this, but I had the idea that the __cpu__ forms
were considered more standard/common. In any case, I can't see any
good reason not to test for both. The amount of code saved by checking
only one is negligible; why should we take a chance on breaking things
for that?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера