slackbuilds_ponce/multimedia/tvtime/patches/tvtime-pic.patch
2010-05-11 19:45:45 +02:00

11 lines
248 B
Diff

--- 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), \