Project

General

Profile

Bug #714 » exiv2-visibility.diff

patch - Pavel Heimlich, 23 Jul 2010 14:29

View differences:

config/config.h.in 2010-07-23 22:35:32.901490968 +0200
212 212
# define EXV_DLLPUBLIC
213 213
#else
214 214
# ifdef EXV_HAVE_GXXCLASSVISIBILITY
215
#  define EXV_IMPORT __attribute__ ((visibility("default")))
216
#  define EXV_EXPORT __attribute__ ((visibility("default")))
217
#  define EXV_DLLLOCAL __attribute__ ((visibility("hidden")))
218
#  define EXV_DLLPUBLIC __attribute__ ((visibility("default")))
215
#  if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
216
#   define EXV_IMPORT __global
217
#   define EXV_EXPORT __global
218
#   define EXV_DLLLOCAL __hidden
219
#   define EXV_DLLPUBLIC __global
220
#  else
221
#   define EXV_IMPORT __attribute__ ((visibility("default")))
222
#   define EXV_EXPORT __attribute__ ((visibility("default")))
223
#   define EXV_DLLLOCAL __attribute__ ((visibility("hidden")))
224
#   define EXV_DLLPUBLIC __attribute__ ((visibility("default")))
225
#  endif
219 226
# else
220 227
#  define EXV_IMPORT
221 228
#  define EXV_EXPORT
(1-1/2)