aboutsummaryrefslogtreecommitdiff
path: root/gzguts.h
diff options
context:
space:
mode:
Diffstat (limited to 'gzguts.h')
-rw-r--r--gzguts.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gzguts.h b/gzguts.h
index 4f83d6d..f728792 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -103,11 +103,10 @@
103# endif 103# endif
104#endif 104#endif
105 105
106/* unlike snprintf (which is required in C99, yet still not supported by 106/* unlike snprintf (which is required in C99), _snprintf does not guarantee
107 Microsoft more than a decade later!), _snprintf does not guarantee null 107 null termination of the result -- however this is only used in gzlib.c where
108 termination of the result -- however this is only used in gzlib.c where
109 the result is assured to fit in the space provided */ 108 the result is assured to fit in the space provided */
110#ifdef _MSC_VER 109#if defined(_MSC_VER) && _MSC_VER < 1900
111# define snprintf _snprintf 110# define snprintf _snprintf
112#endif 111#endif
113 112