summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/camltk.h
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2008-09-26 07:35:24 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2008-09-26 07:35:24 +0000
commitff88bbc5754f601d897c37fc5e9122cdad112078 (patch)
tree1ef73495b393987daa248d72472985d42744d8b7 /otherlibs/labltk/support/camltk.h
parent7b822718b831aec9669aaceba535e7e98a06e988 (diff)
fix PR#4614
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9036 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/support/camltk.h')
-rw-r--r--otherlibs/labltk/support/camltk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/otherlibs/labltk/support/camltk.h b/otherlibs/labltk/support/camltk.h
index 195b82334..2cc654ef6 100644
--- a/otherlibs/labltk/support/camltk.h
+++ b/otherlibs/labltk/support/camltk.h
@@ -22,6 +22,11 @@
#define CAMLTKextern CAMLextern
#endif
+/* compatibility with earlier versions of Tcl/Tk */
+#ifndef CONST84
+#define CONST84
+#endif
+
/* cltkMisc.c */
/* copy a Caml string to the C heap. Must be deallocated with stat_free */
extern char *string_to_c(value s);