summaryrefslogtreecommitdiff
path: root/zlib/zconf.h
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2005-06-07 01:41:16 +0000
committerRainer Orth <ro@gcc.gnu.org>2005-06-07 01:41:16 +0000
commit0ae97690198f2d931d34c19deb451f1e4e3cad90 (patch)
treef12e7f152a28455bae87faedd0bd4ca31126623e /zlib/zconf.h
parent2e42af0555ee31220c91b275dc0e494fe67c5d75 (diff)
downloadgcc-0ae97690198f2d931d34c19deb451f1e4e3cad90.tar.gz
* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
From-SVN: r100689
Diffstat (limited to 'zlib/zconf.h')
-rw-r--r--zlib/zconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zlib/zconf.h b/zlib/zconf.h
index 96dbc205c91..e63803b2d76 100644
--- a/zlib/zconf.h
+++ b/zlib/zconf.h
@@ -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 */