Commit df22c35d authored by Alexander Strange's avatar Alexander Strange Committed by Diego Biurrun

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

Originally committed as revision 12558 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent aa089f6c
......@@ -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