summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/camltk.h
diff options
context:
space:
mode:
authorJun FURUSE / 古瀬 淳 <jun.furuse@gmail.com>2010-04-03 06:43:51 +0000
committerJun FURUSE / 古瀬 淳 <jun.furuse@gmail.com>2010-04-03 06:43:51 +0000
commitf5fc4d52079c0eb2a91e2cbc3c7c23f6554e43cb (patch)
treefeeec35aaf445ec41d4b1cb9e529a3193b2ad217 /otherlibs/labltk/support/camltk.h
parentab550592efa74f1f67a705f84251cce7e32a64c6 (diff)
fix for tk86 and removal of tkanim
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10230 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 56cb29a68..5be206faa 100644
--- a/otherlibs/labltk/support/camltk.h
+++ b/otherlibs/labltk/support/camltk.h
@@ -27,6 +27,11 @@
#define CONST84
#endif
+/* if Tcl_GetStringResult is not defined, we use interp->result */
+#ifndef Tcl_GetStringResult
+# define Tcl_GetStringResult(interp) (interp->result)
+#endif
+
/* cltkMisc.c */
/* copy a Caml string to the C heap. Must be deallocated with stat_free */
extern char *string_to_c(value s);