mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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
This commit is contained in:
parent
79c343c024
commit
5f112e1f96
@ -19,6 +19,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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user