From 8e9ccb6c7e5467845e0a5798a2cddd14a580476b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Mon, 17 Mar 2008 07:49:03 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20MANGLE=20macro=20on=20Mac=20OS=20X.=20All?= =?UTF-8?q?ows=20compiling=20a=2064=20bit=20FFmpeg=20on=20Mac=20OS=20X=20w?= =?UTF-8?q?ithout=20using=20--disable-mmx.=20patch=20by=20=C4=B0smail=20D?= =?UTF-8?q?=C3=B6nmez=20=20ismail=20namtrac=20org?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 12468 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index d2f08788e8..d98ea7898c 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -120,7 +120,8 @@ // Use rip-relative addressing if compiling PIC code on x86-64. #if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__DJGPP__) || \ - defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__)) + defined(__OS2__) || defined(__APPLE__) || \ + (defined (__OpenBSD__) && !defined(__ELF__)) # if defined(ARCH_X86_64) && defined(PIC) # define MANGLE(a) "_" #a"(%%rip)" # else @@ -129,8 +130,6 @@ #else # if defined(ARCH_X86_64) && defined(PIC) # define MANGLE(a) #a"(%%rip)" -# elif defined(__APPLE__) -# define MANGLE(a) "_" #a # else # define MANGLE(a) #a # endif