aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-11-10 12:59:56 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-11-10 12:59:56 +0000
commit7fc58b1eeb5980120a44329c8a553085fe71d98a (patch)
tree3052e079dd53af7ad932055c01e0409de40602f1
parent5755bc88e51a82dd00897d840df2a688631da768 (diff)
downloadffmpeg-7fc58b1eeb5980120a44329c8a553085fe71d98a.tar.gz
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already. Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
-rw-r--r--libavutil/internal.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/configure b/configure
index 83791fc02b..d49cf5716d 100755
--- a/configure
+++ b/configure
@@ -1876,8 +1876,6 @@ esac
enable $arch $subarch
enabled spic && enable pic
-# This is the same check as used in libavutil/internal.h
-# to enable RIP-relative addressing for x86_64 inline asm.
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
# OS specific
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 141186bb5f..7f620d8dd7 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -91,10 +91,6 @@
# define INT_BIT (CHAR_BIT * sizeof(int))
#endif
-#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
-# define PIC
-#endif
-
#ifndef offsetof
# define offsetof(T, F) ((unsigned int)((char *)&((T *)0)->F))
#endif