Commit 5f67681a authored by diego's avatar diego

Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts

so that LOCAL_MANGLE can be used without EXTERN_PREFIX.
patch by Alexander Strange, astrange ithinksw com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12558 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1433bb00
......@@ -120,11 +120,13 @@
// Use rip-relative addressing if compiling PIC code on x86-64.
#if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) EXTERN_PREFIX #a"(%%rip)"
# define LOCAL_MANGLE(a) #a "(%%rip)"
#else
# define MANGLE(a) EXTERN_PREFIX #a
# define LOCAL_MANGLE(a) #a
#endif
#define MANGLE(a) EXTERN_PREFIX LOCAL_MANGLE(a)
/* debug stuff */
/* dprintf macros */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment