comparison internal.h @ 942:c8b09f0c66a0 libavutil

Fix symbol version compat wrappers on systems with export prefixes
author mru
date Tue, 15 Jun 2010 15:24:28 +0000
parents 1f17993c2baa
children da95a329a6b5
comparison
equal deleted inserted replaced
941:1f17993c2baa 942:c8b09f0c66a0
195 #else 195 #else
196 # define NULL_IF_CONFIG_SMALL(x) x 196 # define NULL_IF_CONFIG_SMALL(x) x
197 #endif 197 #endif
198 198
199 #if HAVE_SYMVER_ASM_LABEL 199 #if HAVE_SYMVER_ASM_LABEL
200 # define FF_SYMVER(type, name, args, ver) \ 200 # define FF_SYMVER(type, name, args, ver) \
201 type ff_##name args __asm__ (#name "@" ver); \ 201 type ff_##name args __asm__ (EXTERN_PREFIX #name "@" ver); \
202 type ff_##name args 202 type ff_##name args
203 #elif HAVE_SYMVER_GNU_ASM 203 #elif HAVE_SYMVER_GNU_ASM
204 # define FF_SYMVER(type, name, args, ver) \ 204 # define FF_SYMVER(type, name, args, ver) \
205 __asm__ (".symver ff_" #name "," #name "@" ver); \ 205 __asm__ (".symver ff_" #name "," EXTERN_PREFIX #name "@" ver); \
206 type ff_##name args; \ 206 type ff_##name args; \
207 type ff_##name args 207 type ff_##name args
208 #endif 208 #endif
209 209
210 #endif /* AVUTIL_INTERNAL_H */ 210 #endif /* AVUTIL_INTERNAL_H */