# HG changeset patch # User unC0Rr # Date 1315244728 -14400 # Node ID 45b85a04bb1ee52cb01b116f97c6ac01ddaca0bc # Parent 0692f628d166eeb3c23bba9f20e52df4691e73eb Fix linking in windows diff -r 0692f628d166 -r 45b85a04bb1e misc/quazip/quazip_global.h --- a/misc/quazip/quazip_global.h Mon Sep 05 21:12:22 2011 +0400 +++ b/misc/quazip/quazip_global.h Mon Sep 05 21:45:28 2011 +0400 @@ -29,11 +29,8 @@ * When building the library with MSVC, QUAZIP_BUILD must be defined. * qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc. */ -#if defined(QUAZIP_BUILD) - #define QUAZIP_EXPORT Q_DECL_EXPORT -#else - #define QUAZIP_EXPORT Q_DECL_IMPORT -#endif + +#define QUAZIP_EXPORT #ifdef __GNUC__ #define UNUSED __attribute__((__unused__))