X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/a333c0d7446e38c3ec93f41c6761a64dbf6f6b0d..fc0c3f9d4e13d3c7ff3fb56e84458e62abf3ad4b:/src/libdolphin_export.h diff --git a/src/libdolphin_export.h b/src/libdolphin_export.h index 99af8bed2..ff0f125c4 100644 --- a/src/libdolphin_export.h +++ b/src/libdolphin_export.h @@ -24,18 +24,15 @@ #include /* 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 -