diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-07 01:41:16 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-07 01:41:16 +0000 |
commit | 5775ba1d6161e5fd77570cf5621f30f51afdb965 (patch) | |
tree | f12e7f152a28455bae87faedd0bd4ca31126623e /zlib | |
parent | 7683da5066be9ffd74c928845a8eca2352477208 (diff) | |
download | gcc-5775ba1d6161e5fd77570cf5621f30f51afdb965.tar.gz |
* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'zlib')
-rw-r--r-- | zlib/ChangeLog.gcj | 4 | ||||
-rw-r--r-- | zlib/zconf.h | 8 |
2 files changed, 12 insertions, 0 deletions
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 <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. 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 */ |