diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1997-09-28 19:08:43 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-09-28 15:08:43 -0400 |
commit | e741306e3c161c6c594db76fe38a3224078201f7 (patch) | |
tree | 158f311db2e3fc60211c49300b44ec0e385ab1f0 | |
parent | 72b0b53ec1d17a726c4b7b84f8cdc336249d3ea3 (diff) | |
download | gcc-e741306e3c161c6c594db76fe38a3224078201f7.zip gcc-e741306e3c161c6c594db76fe38a3224078201f7.tar.gz gcc-e741306e3c161c6c594db76fe38a3224078201f7.tar.bz2 |
* libio.h: Don't use _IO_LOCK_T if it's not defined.
From-SVN: r15773
-rw-r--r-- | libio/ChangeLog | 4 | ||||
-rw-r--r-- | libio/libio.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog index d3a5eff..384d4ef 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -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). diff --git a/libio/libio.h b/libio/libio.h index d5e20f5..3d7bce3 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 |