]> sjero.net Git - wget/commitdiff
Don't define snprintf and vsnprintf twice.
authorGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 13 Aug 2011 08:43:43 +0000 (10:43 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Sat, 13 Aug 2011 08:43:43 +0000 (10:43 +0200)
src/ChangeLog
src/mswindows.h

index 245478d63eef6b1e8e5321d3f6d054910d318e77..c45ff1805dc77ded46c6032a871ee80b15a5ee12 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-13  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * mswindows.h (snprintf): Remove definition.
+       (vsnprintf): Likewise.
+
 2011-08-12  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * css.l: Remove include "wget.h".
index 9b91aaf34013cf7b7cf937e0f40dab58d4d02f7f..e614d8431f05cdcc671a1f516a70c5834a415c2b 100644 (file)
@@ -74,10 +74,6 @@ as that of the covered work.  */
 
 #include <stdio.h>
 
-/* The same for snprintf() and vsnprintf().  */
-#define snprintf _snprintf
-#define vsnprintf _vsnprintf
-
 /* Define a wgint type under Windows. */
 typedef __int64 wgint;
 #define SIZEOF_WGINT 8