misc/quazip/quazip_global.h
changeset 5785 45b85a04bb1e
parent 5752 ea95ee97c805
equal deleted inserted replaced
5784:0692f628d166 5785:45b85a04bb1e
    27 #include <QtCore/qglobal.h>
    27 #include <QtCore/qglobal.h>
    28 /**
    28 /**
    29  * When building the library with MSVC, QUAZIP_BUILD must be defined.
    29  * When building the library with MSVC, QUAZIP_BUILD must be defined.
    30  * qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc.
    30  * qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc.
    31  */
    31  */
    32 #if defined(QUAZIP_BUILD)
    32 
    33 	#define QUAZIP_EXPORT Q_DECL_EXPORT
    33 #define QUAZIP_EXPORT
    34 #else
       
    35 	#define QUAZIP_EXPORT Q_DECL_IMPORT
       
    36 #endif
       
    37 
    34 
    38 #ifdef __GNUC__
    35 #ifdef __GNUC__
    39 #define UNUSED __attribute__((__unused__))
    36 #define UNUSED __attribute__((__unused__))
    40 #else
    37 #else
    41 #define UNUSED
    38 #define UNUSED