summaryrefslogtreecommitdiff
blob: 00b040e60af99e6a31bcebec67d5589bce3ef1e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- tvtime/src/cpu_accel.c
+++ tvtime/src/cpu_accel.c
@@ -35,7 +35,7 @@
     int AMD;
     uint32_t caps;
 
-#ifndef PIC
+#if !defined(__PIC__) || defined(__x86_64__)
 #define cpuid(op,eax,ebx,ecx,edx)	\
     __asm__ ("cpuid"			\
 	     : "=a" (eax),		\