summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/camlinternalFormat.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/camlinternalFormat.ml b/stdlib/camlinternalFormat.ml
index 1cdf856a2..60c82b603 100644
--- a/stdlib/camlinternalFormat.ml
+++ b/stdlib/camlinternalFormat.ml
@@ -1,5 +1,8 @@
open CamlinternalFormatBasics
+let legacy_behavior =
+ try Sys.getenv "OCAML_LEGACY_FORMAT" <> "" with _ -> false
+
(******************************************************************************)
(* Types *)