diff options
Diffstat (limited to 'art_config.h.in')
-rw-r--r-- | art_config.h.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/art_config.h.in b/art_config.h.in index 4d42ed9..cfa4786 100644 --- a/art_config.h.in +++ b/art_config.h.in @@ -11,4 +11,15 @@ typedef @ART_U8_TYPE@ art_u8; typedef @ART_U16_TYPE@ art_u16; typedef @ART_U32_TYPE@ art_u32; +#if defined(__KDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY) +#define LIBART_NO_EXPORT __attribute__ ((visibility("hidden"))) +#define LIBART_EXPORT __attribute__ ((visibility("default"))) +#elif defined(_WIN32) +#define LIBART_NO_EXPORT +#define LIBART_EXPORT __declspec(dllexport) +#else +#define LIBART_NO_EXPORT +#define LIBART_EXPORT +#endif + #endif /* _ART_CONFIG_H_ */ |