X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/84ea1693dace41d500c0a61501d67508b83711da..a76cb4c67f8b1f30f29482228fecca89a9c1cb6f:/src/libdolphin_export.h diff --git a/src/libdolphin_export.h b/src/libdolphin_export.h index 6603844f1..ff0f125c4 100644 --- a/src/libdolphin_export.h +++ b/src/libdolphin_export.h @@ -24,17 +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 + /* We are using this library */ +# define LIBDOLPHINPRIVATE_EXPORT KDE_IMPORT # endif #endif #endif -