generic: assume definitions defined in kdemacros header are not defined

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-03-01 11:37:14 +02:00
parent c5accbce87
commit 1b5cbdde53

View file

@ -69,17 +69,11 @@
* @ingroup KDEMacros
*/
#ifndef KDE_NO_EXPORT
# define KDE_NO_EXPORT Q_DECL_HIDDEN
#endif
#define KDE_NO_EXPORT Q_DECL_HIDDEN
#ifndef KDE_EXPORT
#define KDE_EXPORT Q_DECL_EXPORT
#endif
#ifndef KDE_IMPORT
#define KDE_IMPORT Q_DECL_IMPORT
#endif
/**
* @def KDE_DEPRECATED
@ -141,9 +135,7 @@
* use KDE_CONSTRUCTOR_DEPRECATED instead.
*/
#ifndef KDE_DEPRECATED
# define KDE_DEPRECATED Q_DECL_DEPRECATED
#endif
#define KDE_DEPRECATED Q_DECL_DEPRECATED
/**
* @def KDE_CONSTRUCTOR_DEPRECATED
@ -171,9 +163,7 @@
* headers for KDE.
*/
#ifndef KDE_CONSTRUCTOR_DEPRECATED
# define KDE_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED
#endif
#define KDE_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED
/**
* @def KDE_NO_DEPRECATED