diff options
Diffstat (limited to 'src/xine-utils')
| -rw-r--r-- | src/xine-utils/cpu_accel.c | 4 | ||||
| -rw-r--r-- | src/xine-utils/mangle.h | 4 | ||||
| -rw-r--r-- | src/xine-utils/xine_mmx.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/xine-utils/cpu_accel.c b/src/xine-utils/cpu_accel.c index 07978b55f..629a09a50 100644 --- a/src/xine-utils/cpu_accel.c +++ b/src/xine-utils/cpu_accel.c @@ -41,6 +41,10 @@ #include <xine/xineutils.h> +#if defined(PIC) && ! defined(__PIC__) +#define __PIC__ +#endif + #if defined(__i386__) || defined(__x86_64__) #ifndef __x86_64__ diff --git a/src/xine-utils/mangle.h b/src/xine-utils/mangle.h index 7627ca2fc..746317fa5 100644 --- a/src/xine-utils/mangle.h +++ b/src/xine-utils/mangle.h @@ -29,6 +29,10 @@ #ifndef _XINE_MANGLE_H #define _XINE_MANGLE_H +#if defined(PIC) && ! defined(__PIC__) +#define __PIC__ +#endif + // Use rip-relative addressing if compiling PIC code on x86-64. #if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__DJGPP__) || \ defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__)) diff --git a/src/xine-utils/xine_mmx.h b/src/xine-utils/xine_mmx.h index 589e1b7fb..440d1efcc 100644 --- a/src/xine-utils/xine_mmx.h +++ b/src/xine-utils/xine_mmx.h @@ -487,4 +487,4 @@ typedef union { : "X" (mem)) #endif /*ARCH_X86 */ -#endif /*XINE_MMX_H*/
\ No newline at end of file +#endif /*XINE_MMX_H*/ |
