File: mipsel-detection.patch

package info (click to toggle)
firebird3.0 3.0.13.ds7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,632 kB
  • sloc: ansic: 374,403; cpp: 319,973; sql: 14,691; pascal: 14,532; yacc: 7,557; fortran: 5,645; sh: 5,336; makefile: 1,041; perl: 194; sed: 83; awk: 76; xml: 19; csh: 15
file content (25 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: on mips64el, both MIPSEL and MIPS64EL are defined
Author: Damyan Ivanov <dmn@debian.org>

--- a/src/common/common.h
+++ b/src/common/common.h
@@ -147,6 +147,10 @@
 #define RISC_ALIGNMENT
 #endif /* sparc */
 
+#ifdef MIPS64EL
+#define FB_CPU CpuMips64el
+#else
+
 #ifdef MIPSEL
 #define FB_CPU CpuMipsel
 #endif /* mipsel */
@@ -155,8 +159,6 @@
 #define FB_CPU CpuMips
 #endif /* mips */
 
-#ifdef MIPS64EL
-#define FB_CPU CpuMips64el
 #endif /* mips64el */
 
 #ifdef IA64