1
0
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:
Andreas Jaeger
2001-07-31 06:43:44 +00:00
parent cd4fa66a28
commit c0ed7e09f0

View File

@@ -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