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

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun
Date: 2007-01-10 18:38:42
Message-ID: 45A532B2.7050000@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-01-10 19:21:47 Re: Atomic Operations
Previous Message Markus Schiltknecht 2007-01-10 18:38:35 Atomic Operations

Browse pgsql-patches by date

  From Date Subject
Next Message Merlin Moncure 2007-01-10 20:17:40 Re: [HACKERS] [PATCHES] Building libpq/psql with Borland BCC5
Previous Message Tom Lane 2007-01-10 18:24:14 Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun Studio 11