diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2022-10-04 16:09:52 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2022-10-10 15:03:22 +0200 |
commit | 6b7c5a51a54adeeed2e8ed0138618c1c8c102d81 (patch) | |
tree | 9fa3374108ac5d082cc0c60c6fc82ddb738462db /Makefile | |
parent | d1b5644831ccb7f6bec72f5e8f71ef66443e43ea (diff) | |
download | ocaml-6b7c5a51a54adeeed2e8ed0138618c1c8c102d81.tar.gz |
Always access caml_state directly if we're in the core runtime system
There's no risk of accessing across DLLs in this case.
Add the IN_CAML_RUNTIME preprocessor define, which is set when producing
object files in runtime/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -717,7 +717,7 @@ libasmrunpic_OBJECTS = $(runtime_NATIVE_C_SOURCES:.c=.npic.$(O)) \ ## General (non target-specific) assembler and compiler flags -runtime_CPPFLAGS = -DCAMLDLLIMPORT= +runtime_CPPFLAGS = -DCAMLDLLIMPORT= -DIN_CAML_RUNTIME ocamlrund_CPPFLAGS = -DDEBUG ocamlruni_CPPFLAGS = -DCAML_INSTR |