From 48f122fa6cc58410bdff3c435c6a5a3c483da355 Mon Sep 17 00:00:00 2001 From: Jarosław Staniek Date: Tue, 25 Mar 2008 12:06:18 +0000 Subject: fix exports and use dolphinprivatelib in the part svn path=/trunk/KDE/kdebase/apps/; revision=789835 --- src/libdolphin_export.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/libdolphin_export.h') 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 -#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 - -- cgit v1.3