aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-06-15 19:44:09 +0000
committerReinhard Tartler <siretart@tauware.de>2010-06-15 19:44:09 +0000
commit8182bcae9068150ad47c7cbe80350795f2839193 (patch)
tree1d885a9c454f94c4b616752298ca663d097b6cee
parent522f1861ca4dedc021fa515c79bc5bdc9685c250 (diff)
downloadffmpeg-8182bcae9068150ad47c7cbe80350795f2839193.tar.gz
Fix symbol version compat wrappers on systems with export prefixes
backport r23615 by mru Originally committed as revision 23617 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
-rw-r--r--libavutil/internal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index e5dd8b9549..fe8a6fa6b5 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -205,13 +205,13 @@
#endif
#if HAVE_SYMVER_ASM_LABEL
-# define FF_SYMVER(type, name, args, ver) \
- type ff_##name args __asm__ (#name "@" ver); \
+# define FF_SYMVER(type, name, args, ver) \
+ type ff_##name args __asm__ (EXTERN_PREFIX #name "@" ver); \
type ff_##name args
#elif HAVE_SYMVER_GNU_ASM
-# define FF_SYMVER(type, name, args, ver) \
- __asm__ (".symver ff_" #name "," #name "@" ver); \
- type ff_##name args; \
+# define FF_SYMVER(type, name, args, ver) \
+ __asm__ (".symver ff_" #name "," EXTERN_PREFIX #name "@" ver); \
+ type ff_##name args; \
type ff_##name args
#endif