[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/multimedia/taglib-extras/taglib-extras
From:       Jeff Mitchell <kde-dev () emailgoeshere ! com>
Date:       2009-03-13 17:20:29
Message-ID: 1236964829.021843.5376.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 939043 by mitchell:

Remove Qt dependency in export


 M  +5 -6      taglib-extras_export.h  


--- trunk/playground/multimedia/taglib-extras/taglib-extras/taglib-extras_export.h #939042:939043
@@ -26,16 +26,15 @@
 #ifndef TAGLIB_EXTRAS_EXPORT_H
 #define TAGLIB_EXTRAS_EXPORT_H
 
-#include <qglobal.h>
-
-#ifdef Q_WS_WIN
+#if defined(_WIN32) || defined(_WIN64)
 # if defined(MAKE_TAGLIB_EXTRAS_LIB)
-#  define TAGLIB_EXTRAS_EXPORT Q_DECL_EXPORT
+#   define TAGLIB_EXTRAS_EXPORT __declspec(dllexport)
 # else
-#  define TAGLIB_EXTRAS_EXPORT Q_DECL_IMPORT
+#   define TAGLIB_EXTRAS_EXPORT __declspec(dllimport)
 # endif
 #else
-# define TAGLIB_EXTRAS_EXPORT Q_DECL_EXPORT
+# define TAGLIB_EXTRAS_EXPORT __attribute__((visibility("default")))
 #endif
 
 #endif
+
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic