* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Tue, 7 Jun 2005 01:41:16 +0000 (01:41 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 7 Jun 2005 01:41:16 +0000 (01:41 +0000)
From-SVN: r100689

zlib/ChangeLog.gcj
zlib/zconf.h

index 828f9c229d5bbb05553cd4b1078b4b98c0607bf7..0278996b210e91426072e9c66953942c22d87cea 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
+
 2005-05-09  Mike Stump  <mrs@apple.com>
        
        * configure: Regenerate.
index 96dbc205c919f3e28d41a7a9cbb4748951217b85..e63803b2d76c44a9a673b31ed45782673b3cfe83 100644 (file)
@@ -328,4 +328,12 @@ typedef uLong FAR uLongf;
 #endif
 #endif
 
+/* Tru64 UNIX V4.0 neither */
+#if defined(__alpha) && defined(__osf__)
+#include <unistd.h>
+#if _XOPEN_VERSION < 500
+#define NO_vsnprintf
+#endif
+#endif
+
 #endif /* ZCONF_H */