summaryrefslogtreecommitdiff
path: root/kcalcore/kcalcore_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcalcore/kcalcore_export.h')
-rw-r--r--kcalcore/kcalcore_export.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kcalcore/kcalcore_export.h b/kcalcore/kcalcore_export.h
index 364c818..d515b2a 100644
--- a/kcalcore/kcalcore_export.h
+++ b/kcalcore/kcalcore_export.h
@@ -21,6 +21,8 @@
#ifndef KCALCORE_EXPORT_H
#define KCALCORE_EXPORT_H
+#define LIBCALENDARING_DURATION_DECLARED
+
#include <kdemacros.h>
#ifndef KCALCORE_EXPORT
@@ -36,6 +38,10 @@
# endif
#endif
+# ifndef KCALCORE_DEPRECATED
+# define KCALCORE_DEPRECATED __attribute__ ((__deprecated__))
+# endif
+
# ifndef KCALCORE_EXPORT_DEPRECATED
# if !defined( WANT_DEPRECATED_KCALCORE_API )
# define KCALCORE_EXPORT_DEPRECATED KDE_DEPRECATED KCALCORE_EXPORT