Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun Studio 11 - Mailing list pgsql-patches

From Tom Lane
Subject Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun Studio 11
Date
Msg-id 14590.1168452983@sss.pgh.pa.us
Whole thread Raw
In response to fix build on Solaris 10/x86_64 in 64bit mode with Sun Studio 11  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
List pgsql-patches
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> in src/include/port/solaris.h we define it to little endian only for
> __i386 - however in 64bit mode the compiler only defines __amd64 causing
> YTE_ORDER to be undefined.
> The other option would be to use __x86 which is defined on all intel
> architectures.

Shouldn't this use the already-defined __x86_64__ symbol?  I assume
that's already defined because otherwise s_lock.h would fail...

            regards, tom lane

pgsql-patches by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: [HACKERS] [PATCHES] COPY with no WAL, in certain circumstances
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] fix build on Solaris 10/x86_64 in 64bit mode with Sun Studio 11