Commit 74c1118e by Mark Kettenis Committed by Jeff Law

* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.

From-SVN: r26980
parent ef4969e0
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> 1999-05-12 Jason Merrill <jason@yorick.cygnus.com>
* configure.in (compiler_name): Don't do the skip-this-dir thing * configure.in (compiler_name): Don't do the skip-this-dir thing
......
...@@ -31,14 +31,17 @@ ...@@ -31,14 +31,17 @@
#ifndef __set_errno #ifndef __set_errno
# define __set_errno(Val) errno = (Val) # define __set_errno(Val) errno = (Val)
#endif #endif
#if defined __GLIBC__ && __GLIBC__ >= 2
# if __GLIBC_MINOR__ > 0 #ifdef _IO_MTSAFE_IO
# include <bits/libc-lock.h> # if defined __GLIBC__ && __GLIBC__ >= 2
# if __GLIBC_MINOR__ > 0
# include <bits/libc-lock.h>
# else
# include <libc-lock.h>
# endif
# else # else
# include <libc-lock.h>
# endif
#else
/*# include <comthread.h>*/ /*# include <comthread.h>*/
# endif
#endif #endif
#include "iolibio.h" #include "iolibio.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment