From: Giuseppe Scrivano Date: Sat, 13 Aug 2011 08:43:43 +0000 (+0200) Subject: Don't define snprintf and vsnprintf twice. X-Git-Tag: v1.13.1~2 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=24a76e1a8f1ed79bed65910f90f9731e24024d20 Don't define snprintf and vsnprintf twice. --- diff --git a/src/ChangeLog b/src/ChangeLog index 245478d6..c45ff180 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-08-13 Giuseppe Scrivano + + * mswindows.h (snprintf): Remove definition. + (vsnprintf): Likewise. + 2011-08-12 Giuseppe Scrivano * css.l: Remove include "wget.h". diff --git a/src/mswindows.h b/src/mswindows.h index 9b91aaf3..e614d843 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -74,10 +74,6 @@ as that of the covered work. */ #include -/* 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