Stefan Kaltenbrunner wrote:
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.

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

attached is a quick hack to allow pgcrypto to compile on that platform.

buildfarm report for that issue:


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to