diff options
Diffstat (limited to 'zlib/zconf.h')
-rw-r--r-- | zlib/zconf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zlib/zconf.h b/zlib/zconf.h index 831285e8efb..96dbc205c91 100644 --- a/zlib/zconf.h +++ b/zlib/zconf.h @@ -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 */ |