don't forget to initialize C stack limits if threads are disabled

This was broken after the recent refactor of the initialization code.
This commit is contained in:
Marius Gerbershagen 2025-07-06 14:40:21 +02:00
parent 9457813343
commit af89c4a972

View file

@ -195,6 +195,8 @@ ecl_init_first_env(cl_env_ptr env)
env->default_sigmask = cl_core.default_sigmask;
#ifdef ECL_THREADS
init_threads();
#else
ecl_cs_init(env);
#endif
init_env_mp(env);
init_env_int(env);