summaryrefslogtreecommitdiff
path: root/multimedia/tvtime/patches/tvtime-pic.patch
blob: ec3779a87bbfadd54f78a2492db23bdf2944e722 (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(__PIC__)
 #define cpuid(op,eax,ebx,ecx,edx)	\
     __asm__ ("cpuid"			\
 	     : "=a" (eax),		\