]> sjero.net Git - wget/blobdiff - windows/config.h.ms
[svn] *** empty log message ***
[wget] / windows / config.h.ms
index 8db2a46e5bc3be91dcd9a75d92ca71d944fb6042..4dfc0d9e6a253bbf4c6ce6098e1864348d6105f4 100644 (file)
 /* Define if you have the <alloca.h> 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 +48,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
 
@@ -128,6 +120,11 @@ char *alloca ();
 /* Define if you have the <stdarg.h> 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 <stdlib.h> header file.  */
 #define HAVE_STDLIB_H 1
 
@@ -139,9 +136,10 @@ char *alloca ();
 #undef HAVE_UNISTD_H
 #endif
 
-/* None except Digital Mars have usleep function */
+/* None except Digital Mars have sleep/usleep functions */
 #if defined(__DMC__)
 #define HAVE_USLEEP
+#define HAVE_SLEEP
 #endif
 
 /* Define if you have the <utime.h> header file.  */