summaryrefslogtreecommitdiffstats
path: root/kttsd/libkttsd/kdeexportfix.h
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/libkttsd/kdeexportfix.h')
-rw-r--r--kttsd/libkttsd/kdeexportfix.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/kttsd/libkttsd/kdeexportfix.h b/kttsd/libkttsd/kdeexportfix.h
new file mode 100644
index 0000000..7c80d9c
--- /dev/null
+++ b/kttsd/libkttsd/kdeexportfix.h
@@ -0,0 +1,27 @@
+/***************************************************** 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. *
+ * *
+ ***************************************************************************/
+
+#ifndef _KDEEXPORTFIX_H_
+#define _KDEEXPORTFIX_H_
+
+#include <kdeversion.h>
+#if KDE_VERSION < KDE_MAKE_VERSION (3,3,2)
+#undef KDE_EXPORT
+#define KDE_EXPORT
+#endif
+
+#endif // _KDEEXPORTFIX_H_