X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/1a321e5fbcdaf7d92d023bb1f8f2c6352b3c133e..b1c9b5126d:/src/libdolphin_export.h diff --git a/src/libdolphin_export.h b/src/libdolphin_export.h index 05b22513b..4630398b8 100644 --- a/src/libdolphin_export.h +++ b/src/libdolphin_export.h @@ -24,18 +24,16 @@ #include /* needed, because e.g. Q_OS_UNIX is so frequently used */ -#include +#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 -