summaryrefslogtreecommitdiff
path: root/src/xine-utils/mangle.h
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-03-03 22:27:25 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-03-03 22:27:25 +0000
commitd031764edb6050623f0e399be5a7cbc7bee76249 (patch)
tree5712270b75712ad067ecd7c8a807c483b8f0db4a /src/xine-utils/mangle.h
parentb4eea697942773917c2b4c8b932e246227ba01d4 (diff)
parentbc0969908f75c641469ab46e9866c3ee3026a435 (diff)
downloadxine-lib-d031764edb6050623f0e399be5a7cbc7bee76249.tar.gz
xine-lib-d031764edb6050623f0e399be5a7cbc7bee76249.tar.bz2
Merge from 1.1.
--HG-- rename : src/libmpeg2new/include/Makefile.am => src/video_dec/libmpeg2new/include/Makefile.am rename : src/libmpeg2new/libmpeg2/Makefile.am => src/video_dec/libmpeg2new/libmpeg2/Makefile.am
Diffstat (limited to 'src/xine-utils/mangle.h')
-rw-r--r--src/xine-utils/mangle.h4
1 files changed, 4 insertions, 0 deletions
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__))