1 --- firebird-1.5.1.4500/src/jrd/common.h.orig 2004-05-28 23:36:22.000000000 +0200
2 +++ firebird-1.5.1.4500/src/jrd/common.h 2004-05-28 23:44:49.000000000 +0200
4 #define IMPLEMENTATION isc_info_db_impl_linux_sparc /* 65 */
8 +#define IMPLEMENTATION isc_info_db_impl_linux_ppc
12 +#define IMPLEMENTATION isc_info_db_impl_linux_alpha
15 #define MEMMOVE(from,to,length) memmove ((void *)to, (void *)from, (size_t) length)
16 #define MOVE_FAST(from,to,length) memcpy (to, from, (int) (length))
17 #define MOVE_FASTER(from,to,length) memcpy (to, from, (int) (length))
18 --- firebird-1.5.1.4500/src/jrd/ibase.h.orig 2004-03-29 05:50:10.000000000 +0200
19 +++ firebird-1.5.1.4500/src/jrd/ibase.h 2004-08-08 00:59:58.069029392 +0200
21 isc_info_db_impl_linux_sparc = 65,
22 isc_info_db_impl_linux_amd64 = 66,
24 + isc_info_db_impl_linux_ppc = 67,
25 + isc_info_db_impl_linux_alpha = 68,
27 isc_info_db_impl_last_value /* Leave this LAST! */
30 --- firebird-1.5.1.4500/src/jrd/pag.cpp.orig 2004-05-28 22:16:09.000000000 +0200
31 +++ firebird-1.5.1.4500/src/jrd/pag.cpp 2004-05-28 23:58:59.000000000 +0200
45 --- firebird-1.5.1.4500/src/remote/xdr.cpp.orig 2004-08-08 00:57:44.918271384 +0200
46 +++ firebird-1.5.1.4500/src/remote/xdr.cpp 2004-08-08 00:59:21.762548816 +0200
48 // The simpliest way to check it is to issue
49 // "select abs(2.0/3.0) from rdb$database" from correct client
50 // It will return big strange value in case of invalid define
51 -#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64)
52 +#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(__alpha__)
55 -#if !defined(sparc) && !defined(PowerPC)
56 +#if !defined(sparc) && !defined(PowerPC) && !defined(__powerpc__)
57 #error "Define SWAP_DOUBLE for your platform correctly !"
60 diff -ur firebird-1.5.1.4500.orig/src/jrd/ibase.h firebird-1.5.1.4500/src/jrd/ibase.h
61 --- firebird-1.5.1.4500.orig/src/jrd/ibase.h 2004-03-29 05:50:10.000000000 +0200
62 +++ firebird-1.5.1.4500/src/jrd/ibase.h 2004-10-03 03:32:57.962674256 +0200
64 // It is difficult to detect 64-bit long from the redistributable header
65 // we do not care of 16-bit platforms anymore thus we may use plain "int"
66 // which is 32-bit on all platforms we support
67 -#if defined(_LP64) || defined(__LP64__) || defined(__arch64__)
68 +#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(__alpha) || defined(__sparcv9)
70 typedef unsigned int ISC_ULONG;