mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 13:21:54 -08:00
Must allocate environments via GC, otherwise ecl_mark_env -> GC_set_mark_bit fails on us.
o This restores buildability on win32/MSVC.
This commit is contained in:
parent
0a841482dc
commit
d6f4fa8d37
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ _ecl_alloc_env()
|
|||
/* We have not set up any environment. Hence, we cannot call ecl_alloc()
|
||||
* because it will need to stop interrupts and currently we rely on
|
||||
* the environment for that */
|
||||
output = &first_env;
|
||||
output = GC_MALLOC_IGNORE_OFF_PAGE(sizeof(*output));
|
||||
} else {
|
||||
output = ecl_alloc(sizeof(*output));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue