]> sjero.net Git - wget/commitdiff
config.h updates for Mingw.
authorGisle Vanem <giva@bgnett.no>
Fri, 4 Sep 2009 03:57:44 +0000 (20:57 -0700)
committerGisle Vanem <giva@bgnett.no>
Fri, 4 Sep 2009 03:57:44 +0000 (20:57 -0700)
windows/ChangeLog
windows/config.h

index fd8d815752ea478b5f5c47d9f661ff144dfc7bd7..7cadaa5614caebc2814f2ccada6b4af0fa28ffd5 100644 (file)
@@ -1,3 +1,9 @@
+2009-09-03  Gisle Vanem  <giva@bgnett.no>
+
+       * config.h (HAVE_STRING_H): Define for all Windows build
+       platforms.
+       (socklen_t): Define conditionally.
+
 2008-09-09  Gisle Vanem  <gvanem@broadpark.no>
 
        * config-compiler.h: MingW do have <stdint.h>; added HAVE_STDINT_H.
index 20aa77241536b49cd956b3bd4db553b8331b2f14..b70ee88deb2999ce240c877dc3e6811664855679 100644 (file)
@@ -91,6 +91,9 @@
 /* Define to 1 if you have the <stdint.h> header file. */
 /* #undef HAVE_STDINT_H */
 
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H */
+
 /* Define to 1 if you have the `strcasecmp' function. */
 /* #undef HAVE_STRCASECMP */
 
 /* Define to `unsigned' if <sys/types.h> does not define. */
 /* #undef size_t */
 
+#if !defined(_MSC_VER) || (defined(_MSC_VER) && (_MSC_VER < 1500))
 /* Define to int or size_t on systems without socklen_t. */
 #define socklen_t int
+#endif
 
 /* Define to empty if the keyword `volatile' does not work. Warning: valid
    code using `volatile' can become incorrect without. Disable with care. */