Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 519006
Collapse All | Expand All

(-)lensfun-0.2.8.orig/include/lensfun/lensfun.h.in (-1 / +1 lines)
Lines 62-68 Link Here
62
#   ifdef CONF_SYMBOL_VISIBILITY
62
#   ifdef CONF_SYMBOL_VISIBILITY
63
#       if defined PLATFORM_WINDOWS
63
#       if defined PLATFORM_WINDOWS
64
#           define LF_EXPORT    __declspec(dllexport)
64
#           define LF_EXPORT    __declspec(dllexport)
65
#       elif defined CONF_COMPILER_GCC
65
#       elif defined CONF_COMPILER_GCC || __clang__
66
#           define LF_EXPORT    __attribute__((visibility("default")))
66
#           define LF_EXPORT    __attribute__((visibility("default")))
67
#       else
67
#       else
68
#           error "I don't know how to change symbol visibility for your compiler"
68
#           error "I don't know how to change symbol visibility for your compiler"

Return to bug 519006