From 0ae97690198f2d931d34c19deb451f1e4e3cad90 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 7 Jun 2005 01:41:16 +0000 Subject: [PATCH] * zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0. From-SVN: r100689 --- zlib/ChangeLog.gcj | 4 ++++ zlib/zconf.h | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/zlib/ChangeLog.gcj b/zlib/ChangeLog.gcj index 828f9c229d5..0278996b210 100644 --- a/zlib/ChangeLog.gcj +++ b/zlib/ChangeLog.gcj @@ -1,3 +1,7 @@ +2005-06-06 Rainer Orth + + * zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0. + 2005-05-09 Mike Stump * configure: Regenerate. 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 +#if _XOPEN_VERSION < 500 +#define NO_vsnprintf +#endif +#endif + #endif /* ZCONF_H */