From 5f112e1f967d66ed33cea954e4573478f6598725 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 6 Mar 2006 22:06:33 +0000 Subject: Proper mangling information for symbols in OS X Mach-O shared objects. patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org Originally committed as revision 5120 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavutil/common.h') diff --git a/libavutil/common.h b/libavutil/common.h index f4dcf310b0..b2590c93a9 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -267,6 +267,8 @@ static inline float floorf(float f) { # else # if defined(ARCH_X86_64) && defined(PIC) # define MANGLE(a) #a"(%%rip)" +# elif defined(CONFIG_DARWIN) +# define MANGLE(a) "_" #a # else # define MANGLE(a) #a # endif -- cgit v1.2.3