mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 02:09:03 +08:00
* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
From-SVN: r26980
This commit is contained in:
parent
ef4969e0b6
commit
74c1118e9e
@ -1,3 +1,7 @@
|
||||
1999-05-17 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
|
||||
|
||||
1999-05-12 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* configure.in (compiler_name): Don't do the skip-this-dir thing
|
||||
|
@ -31,14 +31,17 @@
|
||||
#ifndef __set_errno
|
||||
# define __set_errno(Val) errno = (Val)
|
||||
#endif
|
||||
#if defined __GLIBC__ && __GLIBC__ >= 2
|
||||
# if __GLIBC_MINOR__ > 0
|
||||
# include <bits/libc-lock.h>
|
||||
|
||||
#ifdef _IO_MTSAFE_IO
|
||||
# if defined __GLIBC__ && __GLIBC__ >= 2
|
||||
# if __GLIBC_MINOR__ > 0
|
||||
# include <bits/libc-lock.h>
|
||||
# else
|
||||
# include <libc-lock.h>
|
||||
# endif
|
||||
# else
|
||||
# include <libc-lock.h>
|
||||
# endif
|
||||
#else
|
||||
/*# include <comthread.h>*/
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "iolibio.h"
|
||||
|
Loading…
Reference in New Issue
Block a user