Browse Source

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
tags/v0.6
Reimar Döffinger 16 years ago
parent
commit
7fc58b1eeb
2 changed files with 0 additions and 6 deletions
  1. +0
    -2
      configure
  2. +0
    -4
      libavutil/internal.h

+ 0
- 2
configure View File

@@ -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


+ 0
- 4
libavutil/internal.h View File

@@ -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


Loading…
Cancel
Save