mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
(flush_cleanup): Guard list_all_lock to allow compilation without threads.
This commit is contained in:
@@ -48,7 +48,9 @@ flush_cleanup (void *not_used)
|
|||||||
{
|
{
|
||||||
if (run_fp != NULL)
|
if (run_fp != NULL)
|
||||||
_IO_funlockfile (run_fp);
|
_IO_funlockfile (run_fp);
|
||||||
|
#ifdef _IO_MTSAFE_IO
|
||||||
_IO_lock_unlock (list_all_lock);
|
_IO_lock_unlock (list_all_lock);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user