From 248102902168025dbdd1ee618ade6bd0d85a5723 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 27 Dec 2004 18:48:25 +0000 Subject: msvc HAS some nprintfs.... yes, it does. --- lib/zlib/src/gzio.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/zlib') diff --git a/lib/zlib/src/gzio.c b/lib/zlib/src/gzio.c index 3f534f6..f3c0da2 100644 --- a/lib/zlib/src/gzio.c +++ b/lib/zlib/src/gzio.c @@ -5,7 +5,7 @@ * Compile this file with -DNO_DEFLATE to avoid the compression code. */ -/* @(#) $Id: gzio.c,v 1.5 2004-11-27 21:46:13 pixel Exp $ */ +/* @(#) $Id: gzio.c,v 1.6 2004-12-27 18:48:25 pixel Exp $ */ #include @@ -529,11 +529,7 @@ int ZEXPORTVA gzprintf (gzFile file, const char *format, /* args */ ...) int len; va_start(va, format); -#ifdef HAS_vsnprintf (void)vsnprintf(buf, sizeof(buf), format, va); -#else - (void)vsprintf(buf, format, va); -#endif va_end(va); len = strlen(buf); /* some *sprintf don't return the nb of bytes written */ if (len <= 0) return 0; -- cgit v1.2.3