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" |