]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* libio.h: Don't use _IO_LOCK_T if it's not defined.
authorJason Merrill <jason@yorick.cygnus.com>
Sun, 28 Sep 1997 19:08:43 +0000 (19:08 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 28 Sep 1997 19:08:43 +0000 (15:08 -0400)
From-SVN: r15773

libio/ChangeLog
libio/libio.h

index d3a5eff74e0eef31483db125091eff23d9c5d9c5..384d4ef05ed9cfb75c9aafdb137f29bbca2adb81 100644 (file)
@@ -1,3 +1,7 @@
+Sun Sep 28 12:04:21 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * libio.h: Don't use _IO_LOCK_T if it's not defined.
+
 Fri Sep 26 20:56:41 1997  Ulrich Drepper  <drepper@rtl.cygnus.com>
 
        Based on a patch by H.J. Lu  (hjl@gnu.ai.mit.edu).
index d5e20f53bbe4e1d61a23f12347bd51c40da2d981..3d7bce3c18178e388ef293f6d2f9608298cf0b47 100644 (file)
@@ -226,7 +226,9 @@ struct _IO_FILE {
 
   /*  char* _save_gptr;  char* _save_egptr; */
 
+#ifdef _IO_LOCK_T
   _IO_LOCK_T _lock;
+#endif
 };
 
 #ifndef __cplusplus