summaryrefslogtreecommitdiff
path: root/libguile/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/init.c')
-rw-r--r--libguile/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/init.c b/libguile/init.c
index 0e0115385..076b05cad 100644
--- a/libguile/init.c
+++ b/libguile/init.c
@@ -444,14 +444,15 @@ scm_init_guile_1 (SCM_STACKITEM *base)
scm_ints_disabled = 1;
scm_block_gc = 1;
-
+
+ scm_threads_prehistory ();
scm_ports_prehistory ();
scm_smob_prehistory ();
scm_tables_prehistory ();
#ifdef GUILE_DEBUG_MALLOC
scm_debug_malloc_prehistory ();
#endif
- if (scm_init_storage ()) /* requires smob_prehistory */
+ if (scm_init_storage ()) /* requires threads and smob_prehistory */
abort ();
scm_struct_prehistory (); /* requires storage */