summaryrefslogtreecommitdiffstats
path: root/src/testlib/3rdparty/cycle/03-parisc-compile.patch
blob: 3e6c5a2d4a75f3b136a19896ef89028004aef014 (plain)
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
26
27
28
diff --git a/src/testlib/3rdparty/cycle/cycle_p.h b/src/testlib/3rdparty/cycle/cycle_p.h
index 430f1be446..f281c55d48 100644
--- a/src/testlib/3rdparty/cycle/cycle_p.h
+++ b/src/testlib/3rdparty/cycle/cycle_p.h
@@ -361,7 +361,11 @@ static __inline__ ticks getticks(void)
      /* no input, nothing else clobbered */
      return ret;
 }
-#  else
+
+INLINE_ELAPSED(inline)
+
+#define HAVE_TICK_COUNTER
+#  elif 0 // Doesn't compile
 #  include <machine/inline.h>
 static inline unsigned long getticks(void)
 {
@@ -370,10 +374,6 @@ static inline unsigned long getticks(void)
      return ret;
 }
 #  endif
-
-INLINE_ELAPSED(inline)
-
-#define HAVE_TICK_COUNTER
 #endif
 
 /*----------------------------------------------------------------*/