summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-06-17 22:15:05 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-06-17 22:15:05 +0000
commit52f53b5371b8dc51817da595f87799e3d30f9ab1 (patch)
treee33f32b9e3e43a6caa3c6510843f7d6dda4e2d0a /gnu
parenta3362afa3aebb1120d19bd7cf6bddc9396c09018 (diff)
Update to 990608 snapshot.
Highlights: - official fix for an alpha bug, - cpp changes semantic slightly, - valarray in libstdc++.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/libio/libioP.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/egcs/libio/libioP.h b/gnu/egcs/libio/libioP.h
index 36fa1e007de..629e4fd8cf6 100644
--- a/gnu/egcs/libio/libioP.h
+++ b/gnu/egcs/libio/libioP.h
@@ -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"