Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117999003
D222.1775543574.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
779 B
Referenced Files
None
Subscribers
None
D222.1775543574.diff
View Options
diff --git a/kolab_export.h b/kolab_export.h
--- a/kolab_export.h
+++ b/kolab_export.h
@@ -23,8 +23,8 @@
#include <qglobal.h>
-//Workaround for qt not defining Q_DECL_IMPORT as it should
-#if defined(Q_OS_LINUX)
+/* Workaround for Qt4 not defining Q_DECL_IMPORT as it should. */
+#if !defined(Q_OS_WIN)
# undef Q_DECL_IMPORT
# define Q_DECL_IMPORT __attribute__((visibility("default")))
#endif
@@ -33,8 +33,8 @@
# if defined(KOLAB_STATIC_LIBS)
/* No export/import for static libraries */
# define KOLAB_EXPORT
-# elif defined(MAKE_KOLAB_LIB)
-/* We are building this library */
+# elif defined(kolab_EXPORTS)
+/* We are building this library. kolab_EXPORTS is defined by CMake. */
# define KOLAB_EXPORT Q_DECL_EXPORT
# else
/* We are using this library */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 6:32 AM (2 h, 12 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18841470
Default Alt Text
D222.1775543574.diff (779 B)
Attached To
Mode
D222: Fix export macros on non-Linux systems
Attached
Detach File
Event Timeline