mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix compilation under Borland.
By Chin-yuan Kuo.
This commit is contained in:
parent
524cc47d84
commit
62304c5611
@ -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>
|
2003-10-26 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* windows/config.h.mingw: Ditto.
|
* windows/config.h.mingw: Ditto.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
## Compiler, linker, and lib stuff
|
## Compiler, linker, and lib stuff
|
||||||
## Makefile for use with watcom win95/winnt executable.
|
## Makefile for use with Borland C++ for Win32 executable.
|
||||||
|
|
||||||
CC=bcc32
|
CC=bcc32
|
||||||
LINK=ilink32
|
LINK=ilink32
|
||||||
@ -8,7 +8,7 @@ LFLAGS=
|
|||||||
CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -w- -O2
|
CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -w- -O2
|
||||||
|
|
||||||
## variables
|
## 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 \
|
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 \
|
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 \
|
safe-ctype.obj hash.obj progress.obj gen-md5.obj cookies.obj \
|
||||||
@ -20,6 +20,7 @@ wget.exe: $(OBJS)
|
|||||||
$(LINK) @&&|
|
$(LINK) @&&|
|
||||||
$(LFLAGS) -Tpe -ap -c +
|
$(LFLAGS) -Tpe -ap -c +
|
||||||
$(LIBDIR)\c0x32.obj+
|
$(LIBDIR)\c0x32.obj+
|
||||||
|
convert.obj+
|
||||||
cookies.obj+
|
cookies.obj+
|
||||||
hash.obj+
|
hash.obj+
|
||||||
safe-ctype.obj+
|
safe-ctype.obj+
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#ifndef CONFIG_H
|
#ifndef CONFIG_H
|
||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
|
#define HAVE_SNPRINTF
|
||||||
|
|
||||||
#define HAVE_MEMMOVE
|
#define HAVE_MEMMOVE
|
||||||
#define ftruncate chsize
|
#define ftruncate chsize
|
||||||
#define inline __inline
|
#define inline __inline
|
||||||
@ -76,7 +78,7 @@
|
|||||||
#define USE_DIGEST 1
|
#define USE_DIGEST 1
|
||||||
|
|
||||||
/* Define if you want the debug output support compiled in. */
|
/* Define if you want the debug output support compiled in. */
|
||||||
#define DEBUG
|
#define ENABLE_DEBUG
|
||||||
|
|
||||||
/* Define if you have sys/time.h header. */
|
/* Define if you have sys/time.h header. */
|
||||||
#undef HAVE_SYS_TIME_H
|
#undef HAVE_SYS_TIME_H
|
||||||
@ -196,6 +198,6 @@
|
|||||||
#define socklen_t int
|
#define socklen_t int
|
||||||
|
|
||||||
/* Define if you have u_int32_t. */
|
/* Define if you have u_int32_t. */
|
||||||
#define HAVE_U_INT32_T 1
|
/* #undef HAVE_U_INT32_T */
|
||||||
|
|
||||||
#endif /* CONFIG_H */
|
#endif /* CONFIG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user