Fix symbol version compat wrappers on systems with export prefixes
Originally committed as revision 23615 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
56023951be
commit
ccc87908a9
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user