// we do not care of 16-bit platforms anymore thus we may use plain "int"
// which is 32-bit on all platforms we support
-#if defined(_LP64) || defined(__LP64__) || defined(__arch64__)
-+#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(__alpha__) || defined(__sparcv9)
++#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(__alpha__)
typedef int ISC_LONG;
typedef unsigned int ISC_ULONG;
#else
#endif
#ifdef FREEBSD
---- firebird-1.5.1.4500/src/remote/xdr.cpp.orig 2004-08-08 00:57:44.918271384 +0200
-+++ firebird-1.5.1.4500/src/remote/xdr.cpp 2004-08-08 00:59:21.762548816 +0200
-@@ -39,10 +39,10 @@
+--- firebird-1.5.4.4910/src/remote/xdr.cpp.orig 2007-01-23 16:04:21.000000000 +0100
++++ firebird-1.5.4.4910/src/remote/xdr.cpp 2007-02-17 22:54:04.743823670 +0100
+@@ -42,10 +42,10 @@
// The simpliest way to check it is to issue
// "select abs(2.0/3.0) from rdb$database" from correct client
// It will return big strange value in case of invalid define
+#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(__alpha__)
#define SWAP_DOUBLE
#else
--#if !defined(sparc) && !defined(PowerPC)
-+#if !defined(sparc) && !defined(PowerPC) && !defined(__powerpc__)
+-#if !defined(sparc) && !defined(PowerPC) && !defined(HPUX)
++#if !defined(sparc) && !defined(PowerPC) && !defined(HPUX) && !defined(__powerpc__)
#error "Define SWAP_DOUBLE for your platform correctly !"
#endif
#endif