Revision 7d9beec7
libavutil/internal.h | ||
---|---|---|
99 | 99 |
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) |
100 | 100 |
#endif |
101 | 101 |
|
102 |
/* Use to export labels from asm. */ |
|
103 |
#define LABEL_MANGLE(a) EXTERN_PREFIX #a |
|
104 |
|
|
102 | 105 |
// Use rip-relative addressing if compiling PIC code on x86-64. |
103 | 106 |
#if ARCH_X86_64 && defined(PIC) |
104 | 107 |
# define LOCAL_MANGLE(a) #a "(%%rip)" |
Also available in: Unified diff