changeset 31:7b1170d0da89 libavutil

Proper mangling information for symbols in OS X Mach-O shared objects. patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org
author diego
date Mon, 06 Mar 2006 22:06:33 +0000
parents 664e2d2b92b9
children b6594d61c8b2
files common.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Mon Mar 06 14:13:01 2006 +0000
+++ b/common.h	Mon Mar 06 22:06:33 2006 +0000
@@ -267,6 +267,8 @@
 #    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