(flush_cleanup): Guard list_all_lock to allow compilation without threads.
authoraj <aj>
Tue, 31 Jul 2001 06:43:44 +0000 (06:43 +0000)
committeraj <aj>
Tue, 31 Jul 2001 06:43:44 +0000 (06:43 +0000)
libio/genops.c

index 28bb0f9..ad6c7f7 100644 (file)
@@ -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