┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/libdolphin_export.h
diff options
context:
space:
mode:
authorJarosław Staniek <[email protected]>2008-03-25 12:06:18 +0000
committerJarosław Staniek <[email protected]>2008-03-25 12:06:18 +0000
commit48f122fa6cc58410bdff3c435c6a5a3c483da355 (patch)
treed5f6e4223c68d8329b658c7f53e04a7f976fd834 /src/libdolphin_export.h
parenteb0974229ffd40a7af10908273a4caff3567b202 (diff)
fix exports and use dolphinprivatelib in the part
svn path=/trunk/KDE/kdebase/apps/; revision=789835
Diffstat (limited to 'src/libdolphin_export.h')
-rw-r--r--src/libdolphin_export.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/libdolphin_export.h b/src/libdolphin_export.h
index 99af8bed2..4630398b8 100644
--- a/src/libdolphin_export.h
+++ b/src/libdolphin_export.h
@@ -26,16 +26,14 @@
/* needed, because e.g. Q_OS_UNIX is so frequently used */
#include <QtCore/QBool>
-#ifdef MAKE_DOLPHINPRIVATE_LIB
-# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT
-#else
-# ifdef Q_OS_WIN
-# define LIBDOLPHINPRIVATE_EXPORT KDE_IMPORT
-# else
+#ifndef LIBDOLPHINPRIVATE_EXPORT
+# if defined(MAKE_DOLPHINPRIVATE_LIB)
+ /* We are building this library */
# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT
+# else
+ /* We are using this library */
+# define LIBDOLPHINPRIVATE_EXPORT KDE_IMPORT
# endif
#endif
-
#endif
-