]> git.pld-linux.org Git - packages/mjpegtools.git/blob - x32.patch
62b1a973954cd0262d31e415de7440601364339d
[packages/mjpegtools.git] / x32.patch
1 --- mjpegtools-2.1.0/utils/cpu_accel.c.orig     2010-09-19 23:21:37.000000000 +0200
2 +++ mjpegtools-2.1.0/utils/cpu_accel.c  2015-04-03 23:40:52.986289070 +0200
3 @@ -117,14 +117,18 @@
4  
5  static int x86_accel (void)
6  {
7 +#if defined(__ILP32__)
8 +    long long eax, ebx, ecx, edx;
9 +#else
10      long eax, ebx, ecx, edx;
11 +#endif
12      int32_t AMD;
13      int32_t caps;
14  
15         /* Slightly weirdified cpuid that preserves the ebx and edi required
16            by gcc for PIC offset table and frame pointer */
17  
18 -#if defined(__LP64__) || defined(_LP64)
19 +#if defined(__LP64__) || defined(_LP64) || defined(__ILP32__)
20  #  define REG_b "rbx"
21  #  define REG_S "rsi"
22  #else
This page took 0.054288 seconds and 2 git commands to generate.