mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
92c04c80c7
svn path=/nixpkgs/trunk/; revision=32962
12 lines
254 B
Diff
12 lines
254 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(__x86_64__)
|
|
#define cpuid(op,eax,ebx,ecx,edx) \
|
|
__asm__ ("cpuid" \
|
|
: "=a" (eax), \
|