diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-14 19:12:23 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-14 19:12:23 +0000 |
commit | 52866cf8f22e0fdce74f9f4c46922c0f572a310b (patch) | |
tree | 73135a815623c8f5094763d23102a3d2483d7360 /libstdc++-v3/libio | |
parent | 7b7ac55cbadc9d3c12e4b93c0e86a35033045a66 (diff) | |
download | gcc-52866cf8f22e0fdce74f9f4c46922c0f572a310b.tar.gz |
* libio/libio.h: Add test for glibc 2.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libio')
-rw-r--r-- | libstdc++-v3/libio/libio.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libstdc++-v3/libio/libio.h b/libstdc++-v3/libio/libio.h index 68525a7de6b..e2a2a15bcb0 100644 --- a/libstdc++-v3/libio/libio.h +++ b/libstdc++-v3/libio/libio.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,93,94,95,97,98,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,94,95,97,98,99,2000,2001 Free Software Foundation, Inc. This file is part of the GNU IO Library. Written by Per Bothner <bothner@cygnus.com>. @@ -162,7 +162,11 @@ struct _IO_jump_t; struct _IO_FILE; /* Handle lock. */ #ifdef _IO_MTSAFE_IO # if defined __GLIBC__ && __GLIBC__ >= 2 -# include <bits/stdio-lock.h> +# if __GLIBC_MINOR__ == 0 +# include <stdio-lock.h> +# else +# include <bits/stdio-lock.h> +# endif # else /*# include <comthread.h>*/ # endif |