From: Lukáš Lalinský Date: Mon, 9 Aug 2010 12:17:30 +0000 (+0000) Subject: Make sure TAGLIB_EXPORT is empty when TAGLIB_STATIC is defined X-Git-Tag: v1.7rc1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f887f5eec36a80f969ef18cf018bc6c410601fda;p=taglib Make sure TAGLIB_EXPORT is empty when TAGLIB_STATIC is defined git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1160977 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/taglib/taglib_export.h b/taglib/taglib_export.h index c78f701b..d1ae34b8 100644 --- a/taglib/taglib_export.h +++ b/taglib/taglib_export.h @@ -26,7 +26,9 @@ #ifndef TAGLIB_EXPORT_H #define TAGLIB_EXPORT_H -#if !defined(TAGLIB_STATIC) && (defined(_WIN32) || defined(_WIN64)) +#if defined(TAGLIB_STATIC) +#define TAGLIB_EXPORT +#elif (defined(_WIN32) || defined(_WIN64)) #ifdef MAKE_TAGLIB_LIB #define TAGLIB_EXPORT __declspec(dllexport) #else