mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix cross-compilation to MinGW.
Fixes a regression introduced in
5a8502a494
.
* libguile/scmsigs.c (scm_i_signals_post_fork): Wrap reference to ‘once’
in #ifdef.
This commit is contained in:
parent
2556b9a216
commit
a702097f1c
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright 1995-2002,2004,2006-2009,2011,2013-2014,2017-2018,2023
|
||||
/* Copyright 1995-2002, 2004, 2006-2009, 2011, 2013-2014, 2017-2018, 2023-2024
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Guile.
|
||||
|
@ -301,7 +301,9 @@ scm_i_signals_post_fork ()
|
|||
}
|
||||
}
|
||||
|
||||
#if SCM_USE_PTHREAD_THREADS
|
||||
once = SCM_I_PTHREAD_ONCE_INIT;
|
||||
#endif
|
||||
if (active)
|
||||
scm_i_ensure_signal_delivery_thread ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue