Commit ccc87908 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

Fix symbol version compat wrappers on systems with export prefixes

Originally committed as revision 23615 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 56023951
...@@ -197,13 +197,13 @@ ...@@ -197,13 +197,13 @@
#endif #endif
#if HAVE_SYMVER_ASM_LABEL #if HAVE_SYMVER_ASM_LABEL
# define FF_SYMVER(type, name, args, ver) \ # define FF_SYMVER(type, name, args, ver) \
type ff_##name args __asm__ (#name "@" ver); \ type ff_##name args __asm__ (EXTERN_PREFIX #name "@" ver); \
type ff_##name args type ff_##name args
#elif HAVE_SYMVER_GNU_ASM #elif HAVE_SYMVER_GNU_ASM
# define FF_SYMVER(type, name, args, ver) \ # define FF_SYMVER(type, name, args, ver) \
__asm__ (".symver ff_" #name "," #name "@" ver); \ __asm__ (".symver ff_" #name "," EXTERN_PREFIX #name "@" ver); \
type ff_##name args; \ type ff_##name args; \
type ff_##name args type ff_##name args
#endif #endif
......
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