]> sjero.net Git - wget/commitdiff
[svn] Fix compilation under Borland.
authorhniksic <devnull@localhost>
Sun, 26 Oct 2003 00:28:04 +0000 (17:28 -0700)
committerhniksic <devnull@localhost>
Sun, 26 Oct 2003 00:28:04 +0000 (17:28 -0700)
By Chin-yuan Kuo.

ChangeLog
windows/Makefile.src.bor
windows/config.h.bor

index 89f122b6fb1e122eea663c58b3f3c9da0cc8dce6..5a8f7508defeba97a2d432537740fbb8655eca0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-10-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * windows/config.h.bor: DEBUG is now ENABLE_DEBUG.  Borland has
+       snprintf, but not u_int32_t.
+
+       * windows/Makefile.src.bor (OBJS): Use convert.c.
+
+       From Chin-yuan Kuo.
+
 2003-10-26  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * windows/config.h.mingw: Ditto.
index 6cca91cb793171a889530f66d7c8ea4c72aa7ad2..60f729233e0c2e3ae4abb9c8fd8bc124f7e1d04a 100644 (file)
@@ -1,5 +1,5 @@
 ## Compiler, linker, and lib stuff
-## Makefile for use with watcom win95/winnt executable.
+## Makefile for use with Borland C++ for Win32 executable.
 
 CC=bcc32
 LINK=ilink32
@@ -8,7 +8,7 @@ LFLAGS=
 CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -w- -O2
 
 ## variables
-OBJS=cmpt.obj connect.obj ftp.obj ftp-basic.obj  \
+OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj  \
       ftp-ls.obj ftp-opie.obj getopt.obj headers.obj host.obj html-parse.obj html-url.obj \
       http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj rbuf.obj  \
       safe-ctype.obj hash.obj progress.obj gen-md5.obj cookies.obj \
@@ -20,6 +20,7 @@ wget.exe: $(OBJS)
   $(LINK) @&&|
 $(LFLAGS) -Tpe -ap -c +
 $(LIBDIR)\c0x32.obj+
+convert.obj+
 cookies.obj+
 hash.obj+
 safe-ctype.obj+
index a51e25ab52aff01eb6278071d844eb69b34a9e0e..f5153dca615087e8b90e8bcb1ac332677bfd543e 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef CONFIG_H
 #define CONFIG_H
 
+#define HAVE_SNPRINTF
+
 #define HAVE_MEMMOVE
 #define ftruncate chsize
 #define inline __inline
@@ -76,7 +78,7 @@
 #define USE_DIGEST 1
 
 /* Define if you want the debug output support compiled in.  */
-#define DEBUG
+#define ENABLE_DEBUG
 
 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H
 #define socklen_t int
 
 /* Define if you have u_int32_t.  */
-#define HAVE_U_INT32_T 1
+/* #undef HAVE_U_INT32_T */
 
 #endif /* CONFIG_H */