diff options
author | Jacques Garrigue <garrigue@math.nagoya-u.ac.jp> | 2019-12-02 17:07:12 (GMT) |
---|---|---|
committer | Nicolás Ojeda Bär <n.oje.bar@gmail.com> | 2019-12-07 14:56:58 (GMT) |
commit | 14928a5c5650e27ebda05d51907f91c3fb127fdf (patch) | |
tree | 216f02de634288dd9370a57c06060c5f97e98310 | |
parent | 3121f856f3e5b42c9bb4a4dc04e5ba5535797716 (diff) | |
download | ocaml-14928a5c5650e27ebda05d51907f91c3fb127fdf.zip ocaml-14928a5c5650e27ebda05d51907f91c3fb127fdf.tar.gz ocaml-14928a5c5650e27ebda05d51907f91c3fb127fdf.tar.bz2 |
remove workaround in compatibility.h as suggested by @stedolan
-rw-r--r-- | runtime/caml/compatibility.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/caml/compatibility.h b/runtime/caml/compatibility.h index c5fb707..240cfbe 100644 --- a/runtime/caml/compatibility.h +++ b/runtime/caml/compatibility.h @@ -242,10 +242,10 @@ /* **** meta.c */ /* **** minor_gc.c */ -#define young_start (Caml_state->_young_start) -#define young_end (Caml_state->_young_end) -#define young_ptr (Caml_state->_young_ptr) -#define young_limit (Caml_state->_young_limit) +#define young_start caml_young_start +#define young_end caml_young_end +#define young_ptr caml_young_ptr +#define young_limit caml_young_limit #define ref_table caml_ref_table #define minor_collection caml_minor_collection #define check_urgent_gc caml_check_urgent_gc @@ -262,7 +262,7 @@ #define format_caml_exception caml_format_exception /*SP*/ /* **** roots.c */ -#define local_roots (Caml_state->_local_roots) +#define local_roots caml_local_roots #define scan_roots_hook caml_scan_roots_hook #define do_local_roots caml_do_local_roots |