From: Andreas Jaeger Date: Tue, 31 Jul 2001 06:43:44 +0000 (+0000) Subject: (flush_cleanup): Guard list_all_lock to allow compilation without threads. X-Git-Tag: upstream/2.30~22745 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0ed7e09f007917ee576132de5cf2705d387f64c;p=external%2Fglibc.git (flush_cleanup): Guard list_all_lock to allow compilation without threads. --- diff --git a/libio/genops.c b/libio/genops.c index 28bb0f9..ad6c7f7 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -48,7 +48,9 @@ flush_cleanup (void *not_used) { if (run_fp != NULL) _IO_funlockfile (run_fp); +#ifdef _IO_MTSAFE_IO _IO_lock_unlock (list_all_lock); +#endif } void