--- firebird-1.5.0.4290/src/jrd/common.h.orig 2004-05-28 23:36:22.000000000 +0200 +++ firebird-1.5.0.4290/src/jrd/common.h 2004-05-28 23:44:49.000000000 +0200 @@ -131,6 +131,18 @@ #define IMPLEMENTATION isc_info_db_impl_linux_sparc /* 65 */ #endif /* sparc */ +#ifdef __powerpc__ +#define IMPLEMENTATION isc_info_db_impl_linux_ppc +#endif + +#ifdef __alpha__ +#define IMPLEMENTATION isc_info_db_impl_linux_alpha +#endif + +#ifdef __x86_64__ +#define IMPLEMENTATION isc_info_db_impl_linux_amd64 +#endif + #define MEMMOVE(from,to,length) memmove ((void *)to, (void *)from, (size_t) length) #define MOVE_FAST(from,to,length) memcpy (to, from, (int) (length)) #define MOVE_FASTER(from,to,length) memcpy (to, from, (int) (length)) --- firebird-1.5.0.4290/src/jrd/ibase.h.orig 2003-12-28 00:06:25.000000000 +0100 +++ firebird-1.5.0.4290/src/jrd/ibase.h 2004-05-28 23:48:49.000000000 +0200 @@ -1573,6 +1573,10 @@ isc_info_db_impl_linux_sparc = 65, + isc_info_db_impl_linux_ppc = 66, + isc_info_db_impl_linux_alpha = 67, + isc_info_db_impl_linux_amd64 = 68, + isc_info_db_impl_last_value /* Leave this LAST! */ }; --- firebird-1.5.0.4290/src/jrd/pag.cpp.orig 2004-05-28 22:16:09.000000000 +0200 +++ firebird-1.5.0.4290/src/jrd/pag.cpp 2004-05-28 23:58:59.000000000 +0200 @@ -180,6 +180,15 @@ #ifdef __sparc__ #define CLASS 20 #endif +#ifdef __powerpc__ +#define CLASS 30 +#endif +#ifdef __alpha__ +#define CLASS 31 +#endif +#ifdef __x86_64__ +#define CLASS 32 +#endif #endif #ifdef FREEBSD --- firebird-1.5.0.4290/src/remote/xdr.cpp.orig 2004-05-29 00:05:08.000000000 +0200 +++ firebird-1.5.0.4290/src/remote/xdr.cpp 2004-05-29 00:06:09.000000000 +0200 @@ -39,10 +39,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) +#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(__alpha__) || defined(__x86_64__) #define SWAP_DOUBLE #else -#if !defined(sparc) && !defined(__sparc__) && !defined(PowerPC) +#if !defined(sparc) && !defined(__sparc__) && !defined(PowerPC) && !defined(__powerpc__) #error "Define SWAP_DOUBLE for your platform correctly !" #endif #endif