* zconf.h: Define NO_vsnprintf on Solaris 2.5.1.

From-SVN: r91056
This commit is contained in:
Eric Botcazou 2004-11-23 01:22:36 +01:00 committed by Eric Botcazou
parent 9f699c84e2
commit 3174451e16
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
* zconf.h: Define NO_vsnprintf on Solaris 2.5.1.
2004-10-11 Tom Tromey <tromey@redhat.com>
PR libgcj/14856:

View File

@ -320,4 +320,12 @@ typedef uLong FAR uLongf;
# pragma map(inflate_copyright,"INCOPY")
#endif
/* Solaris 2.5.1 doesn't have vsnprintf */
#if defined(__sun) && defined(__svr4__)
#include <sys/feature_tests.h>
#if _XOPEN_VERSION < 3
#define NO_vsnprintf
#endif
#endif
#endif /* ZCONF_H */