X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=windows%2Fconfig.h.ms;h=56fe81f0406ce4042a482aca7259f7ffff70470d;hb=713ecfdca60257c645c6be6ae47b872b59fc050f;hp=715377b62a889e593242d06110ecdf6ff77e9f33;hpb=a95b801f6124865acb8f45b7ca581d702f32f6f1;p=wget diff --git a/windows/config.h.ms b/windows/config.h.ms index 715377b6..56fe81f0 100644 --- a/windows/config.h.ms +++ b/windows/config.h.ms @@ -1,5 +1,6 @@ /* Configuration header file. - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 2004 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,11 +33,6 @@ /* Define if you have the header file. */ #undef HAVE_ALLOCA_H -#if !defined(__GNUC__) && !defined(__DMC__) && !defined(__WATCOMC__) -/* Microsoft and Watcom libraries have an alloca function. */ -char *alloca (); -#endif - /* Define to empty if the keyword does not work. */ /* #undef const */ @@ -53,9 +49,6 @@ char *alloca (); significant byte first). */ #undef WORDS_BIGENDIAN -/* Define this if you want the NLS support. */ -#undef ENABLE_NLS - /* Define if you want the FTP support for Opie compiled in. */ #define USE_OPIE 1 @@ -63,7 +56,7 @@ char *alloca (); #define USE_DIGEST 1 /* Define if you want the debug output support compiled in. */ -#define DEBUG +#define ENABLE_DEBUG 1 /* Define if you have sys/time.h header. */ #undef HAVE_SYS_TIME_H @@ -99,10 +92,13 @@ char *alloca (); #define HAVE_STRERROR 1 /* Define if you have the snprintf function. */ -#define HAVE_SNPRINTF +#define HAVE_SNPRINTF 1 /* Define if you have the vsnprintf function. */ -#define HAVE_VSNPRINTF +#define HAVE_VSNPRINTF 1 + +/* Define to 1 if you have the `strpbrk' function. */ +#define HAVE_STRPBRK 1 /* Define if you have the strstr function. */ #define HAVE_STRSTR 1 @@ -128,6 +124,11 @@ char *alloca (); /* Define if you have the header file. */ #define HAVE_STDARG_H 1 +/* Use ANSI-style stdargs regardless of whether the compiler bothers + to define __STDC__. (Many don't when extensions are enabled.) + This define used to be in mswindows.h, but wheren't making any use there */ +#define WGET_USE_STDARG + /* Define if you have the header file. */ #define HAVE_STDLIB_H 1 @@ -141,8 +142,8 @@ char *alloca (); /* None except Digital Mars have sleep/usleep functions */ #if defined(__DMC__) -#define HAVE_USLEEP -#define HAVE_SLEEP +#define HAVE_USLEEP 1 +#define HAVE_SLEEP 1 #endif /* Define if you have the header file. */ @@ -151,6 +152,12 @@ char *alloca (); /* Define if you have the header file. */ #define HAVE_SYS_UTIME_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + /* Define if you have the header file. */ #undef HAVE_SYS_SELECT_H @@ -158,7 +165,7 @@ char *alloca (); #undef HAVE_PWD_H /* Define if you have the header file. */ -#define HAVE_SIGNAL_H +#define HAVE_SIGNAL_H 1 /* Define to be the name of the operating system. */ #define OS_TYPE "Windows" @@ -190,5 +197,19 @@ char *alloca (); /* Define if you have the memmove function */ #define HAVE_MEMMOVE 1 -#endif /* CONFIG_H */ +/* Define to the length of short. */ +#define SIZEOF_SHORT 2 + +/* Define to the length of int. */ +#define SIZEOF_INT 4 + +/* Define to the length of long. */ +#define SIZEOF_LONG 4 +/* Defined to int or size_t on systems without socklen_t. */ +#define socklen_t int + +/* Define if you have uint32_t. */ +#undef HAVE_UINT32_T + +#endif /* CONFIG_H */