]> git.pld-linux.org Git - packages/Firebird.git/blame - Firebird-ppc.patch
http://www.nabble.com/Build-failure-of-1.5.4rc1-(gcc-3.4)-t3077620.html
[packages/Firebird.git] / Firebird-ppc.patch
CommitLineData
104e0c5f
AM
1--- firebird-1.5.3.4870/src/jrd/pag.cpp.org 2007-01-02 13:51:03.000000000 +0000
2+++ firebird-1.5.3.4870/src/jrd/pag.cpp 2007-01-02 13:56:47.000000000 +0000
3@@ -143,8 +143,11 @@
4 static const int CLASS_NETBSD_I386 = 22; // NetBSD/i386
5 static const int CLASS_DARWIN_PPC = 23; // Darwin/PowerPC
6 static const int CLASS_LINUX_AMD64 = 24; // LINUX on AMD64 systems
7+static const int CLASS_FREEBSD_AMD64 = 25;// FreeBSD/amd64
8+static const int CLASS_WINDOWS_AMD64 = 26;// Windows/amd64
9+static const int CLASS_LINUX_PPC = 27; // LINUX/PowerPC
10
11-static const int CLASS_MAX10 = CLASS_LINUX_AMD64;
12+static const int CLASS_MAX10 = CLASS_LINUX_PPC;
13
14 // ARCHITECTURE COMPATIBILITY CLASSES
15
16@@ -188,7 +191,10 @@
17 archIntel86, // CLASS_FREEBSD_I386
18 archIntel86, // CLASS_NETBSD_I386
19 archUnknown, // CLASS_DARWIN_PPC
20- archUnknown // CLASS_LINUX_AMD64
21+ archUnknown, // CLASS_LINUX_AMD64
22+ archUnknown, // CLASS_FREEBSD_AMD64
23+ archUnknown, // CLASS_WINDOWS_AMD64
24+ archUnknown // CLASS_LINUX_PPC
25 };
26
27 #ifdef sun
28@@ -256,6 +262,9 @@
29 #define CLASS CLASS_DARWIN_PPC
30 #endif
31
32+#ifdef PPC
33+#define CLASS CLASS_LINUX_PPC
34+#endif
35
36 int PAG_add_clump(
37 SLONG page_num,
This page took 0.031429 seconds and 4 git commands to generate.