summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2015-04-12 17:27:29 +0000
committerGabriel Scherer <gabriel.scherer@gmail.com>2015-04-12 17:27:29 +0000
commite82564be2f8e9649af74e8b11e9682c929b20853 (patch)
tree01935cfbc9eaee0d64bc50a6ba76c1198bd9c9f7
parent090bc48c8e48286d3125bab2ec7506aa9d2a32e5 (diff)
downloadocaml-e82564be2f8e9649af74e8b11e9682c929b20853.tar.gz
compatibility macros for runtime constants that recently changed names
(Pierre Chambart) caml_stat_heap_size -> caml_stat_heap_wsz caml_stat_top_heap_size -> caml_stat_top_heap_wsz git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--byterun/caml/compatibility.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/byterun/caml/compatibility.h b/byterun/caml/compatibility.h
index 11181176c2..8a58985b68 100644
--- a/byterun/caml/compatibility.h
+++ b/byterun/caml/compatibility.h
@@ -16,6 +16,10 @@
#ifndef CAML_COMPATIBILITY_H
#define CAML_COMPATIBILITY_H
+/* internal global variables renamed between 4.02.1 and 4.03.0 */
+#define caml_stat_top_heap_size caml_stat_top_heap_wsz
+#define caml_stat_heap_size caml_stat_heap_wsz
+
#ifndef CAML_NAME_SPACE
/*