aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2005-10-27 13:20:43 +0000
committerN.N. <sevyves@users.sourceforge.net>2005-10-27 13:20:43 +0000
commitbd0e7606604ce39c6f5914f6d61d4d1feaaf1904 (patch)
treec0e9147ea449784f11cb75219cc32f80231a04b7 /include
parent3f6ad372d2f45b9e21e4cec9843a064429332738 (diff)
adapted to newer Image Magick
svn path=/trunk/externals/pidip/; revision=3771
Diffstat (limited to 'include')
-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.
*/