+2000-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * windows/config.h.ms: snprintf and vsnprintf exist under Windows.
+
+ * windows/Makefile.src: Back out previous change.
+
2000-11-16 Herold Heiko <Heiko.Herold@previnet.it>
* windows/Makefile.src: Compile in vsnprintf.c.
+2000-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * mswindows.h: Define snprintf and vsnprintf to _snprintf and
+ _vsnprintf respectively.
+
2000-11-15 Hrvoje Niksic <hniksic@arsdigita.com>
* config.h.in: Do the _XOPEN_SOURCE and _SVID_SOURCE things only
#define strcasecmp stricmp
#define strncasecmp strnicmp
+/* The same for snprintf() and vsnprintf(). */
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
+
/* No stat on Windows. */
#define lstat stat
SRC = alloca.c cmpt.c connect.c host.c http.c netrc.c ftp-basic.c ftp.c ftp-ls.c \
ftp-opie.c getopt.c headers.c html.c retr.c recur.c url.c init.c utils.c main.c \
- version.c mswindows.c fnmatch.c md5.c rbuf.c log.c snprintf.c
+ version.c mswindows.c fnmatch.c md5.c rbuf.c log.c
OBJ = alloca$o cmpt$o connect$o host$o http$o netrc$o ftp-basic$o ftp$o ftp-ls$o \
ftp-opie$o headers$o html$o retr$o recur$o url$o init$o utils$o main$o \
- getopt$o version$o mswindows$o fnmatch$o md5$o rbuf$o log$o snprintf$o
+ getopt$o version$o mswindows$o fnmatch$o md5$o rbuf$o log$o
.SUFFIXES: .c .obj
/* Define if you have the strerror function. */
#define HAVE_STRERROR 1
+/* Define if you have the snprintf function. */
+#undef HAVE_SNPRINTF
+
+/* Define if you have the vsnprintf function. */
+#undef HAVE_VSNPRINTF
+
/* Define if you have the strstr function. */
#define HAVE_STRSTR 1