Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun
Дата
Msg-id 45A532B2.7050000@kaltenbrunner.cc
обсуждение исходный текст
Ответ на Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun Studio 11  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
>> on an Intel based Solaris 10U2 box using Sun Studio 11 with
>> -xarch=generic64 we get a compile time failure in contrib/pgcrypto
>> because BYTE_ORDER is not defined.
>
> After further thought I changed this to handle either __amd64 or
> __x86_64 (or both).  Applied.

I think it defines both at all times - if we want fewer rules in there
we could switch to just testing __x86 für both 64bit and 32bit but I
guess it's fine as it stands now.


Stefan

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

Предыдущее
От: Markus Schiltknecht
Дата:
Сообщение: Atomic Operations
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Atomic Operations