Revision 7fc58b1e

View differences:

configure
1876 1876

  
1877 1877
enable $arch $subarch
1878 1878
enabled spic && enable pic
1879
# This is the same check as used in libavutil/internal.h
1880
# to enable RIP-relative addressing for x86_64 inline asm.
1881 1879
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
1882 1880

  
1883 1881
# OS specific
libavutil/internal.h
91 91
#    define INT_BIT (CHAR_BIT * sizeof(int))
92 92
#endif
93 93

  
94
#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
95
#    define PIC
96
#endif
97

  
98 94
#ifndef offsetof
99 95
#    define offsetof(T, F) ((unsigned int)((char *)&((T *)0)->F))
100 96
#endif

Also available in: Unified diff