From: Jason Merrill Date: Sun, 28 Sep 1997 19:08:43 +0000 (+0000) Subject: * libio.h: Don't use _IO_LOCK_T if it's not defined. X-Git-Tag: releases/egcs-1.0.0~446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e741306e3c161c6c594db76fe38a3224078201f7;p=thirdparty%2Fgcc.git * libio.h: Don't use _IO_LOCK_T if it's not defined. From-SVN: r15773 --- diff --git a/libio/ChangeLog b/libio/ChangeLog index d3a5eff74e0e..384d4ef05ed9 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -1,3 +1,7 @@ +Sun Sep 28 12:04:21 1997 Jason Merrill + + * libio.h: Don't use _IO_LOCK_T if it's not defined. + Fri Sep 26 20:56:41 1997 Ulrich Drepper Based on a patch by H.J. Lu (hjl@gnu.ai.mit.edu). diff --git a/libio/libio.h b/libio/libio.h index d5e20f53bbe4..3d7bce3c1817 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -226,7 +226,9 @@ struct _IO_FILE { /* char* _save_gptr; char* _save_egptr; */ +#ifdef _IO_LOCK_T _IO_LOCK_T _lock; +#endif }; #ifndef __cplusplus