X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/14e3f13b1b2f8106967999b6664822338bc838fd..18a976c435e85fa2556b1a1abb6de41392003d7d:/src/libdolphin_export.h diff --git a/src/libdolphin_export.h b/src/libdolphin_export.h index 36071e1a3..ff0f125c4 100644 --- a/src/libdolphin_export.h +++ b/src/libdolphin_export.h @@ -24,28 +24,15 @@ #include /* needed, because e.g. Q_OS_UNIX is so frequently used */ -#include -#ifdef MAKE_DOLPHIN_LIB -# define LIBDOLPHIN_EXPORT KDE_EXPORT -#else -# ifdef Q_OS_WIN -# define LIBDOLPHIN_EXPORT KDE_IMPORT +#ifndef LIBDOLPHINPRIVATE_EXPORT +# if defined(MAKE_DOLPHINPRIVATE_LIB) + /* We are building this library */ +# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT # else -# define LIBDOLPHIN_EXPORT KDE_EXPORT -# endif -#endif - -#ifdef MAKE_DOLPHINPRIVATE_LIB -# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT -#else -# ifdef Q_OS_WIN + /* We are using this library */ # define LIBDOLPHINPRIVATE_EXPORT KDE_IMPORT -# else -# define LIBDOLPHINPRIVATE_EXPORT KDE_EXPORT # endif #endif - #endif -