aboutsummaryrefslogtreecommitdiff
path: root/include/xwindow-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xwindow-private.h')
-rw-r--r--include/xwindow-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xwindow-private.h b/include/xwindow-private.h
index eef6b0b..228f694 100644
--- a/include/xwindow-private.h
+++ b/include/xwindow-private.h
@@ -33,6 +33,12 @@ extern "C" {
#include <X11/Xutil.h>
#include "magick/quantize.h"
+#if defined(__cplusplus) || defined(c_plusplus)
+# define klass c_class
+#else
+# define klass class
+#endif
+
/*
Invoke pre-X11R6 ICCCM routines if XlibSpecificationRelease is not 6.
*/