summaryrefslogtreecommitdiffstats
path: root/kbstateapplet/kdeexportfix.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbstateapplet/kdeexportfix.h')
-rw-r--r--kbstateapplet/kdeexportfix.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kbstateapplet/kdeexportfix.h b/kbstateapplet/kdeexportfix.h
new file mode 100644
index 0000000..172dd94
--- /dev/null
+++ b/kbstateapplet/kdeexportfix.h
@@ -0,0 +1,22 @@
+/***************************************************** vim:set ts=4 sw=4 sts=4:
+ kdelibs < 3.3.2 had a bug in the KDE_EXPORT macro. This file fixes this
+ by undefining it.
+ -------------------
+ Copyright : (C) 2005 by Gary Cramblitt <garycramblitt@comcast.net>
+ -------------------
+ Original author: Gary Cramblitt <garycramblitt@comcast.net>
+ ******************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; version 2 of the License. *
+ * *
+ ***************************************************************************/
+
+#include <kdeversion.h>
+#if KDE_VERSION < KDE_MAKE_VERSION (3,3,2)
+#undef KDE_EXPORT
+#define KDE_EXPORT
+#endif