diff options
Diffstat (limited to 'src/3rdparty/zlib')
-rw-r--r-- | src/3rdparty/zlib/zlib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/3rdparty/zlib/zlib.h b/src/3rdparty/zlib/zlib.h index bfbba83..4069724 100644 --- a/src/3rdparty/zlib/zlib.h +++ b/src/3rdparty/zlib/zlib.h @@ -33,6 +33,15 @@ #include "zconf.h" +#include "qconfig.h" +#if defined(QT_VISIBILITY_AVAILABLE) +# undef ZEXTERN +# define ZEXTERN __attribute__((visibility("default"))) +#elif defined(QT_MAKEDLL) +# undef ZEXTERN +# define ZEXTERN __declspec(dllexport) +#endif + #ifdef __cplusplus extern "C" { #endif |