]> sjero.net Git - wget/commitdiff
Apply Christopher Lewis' patch re HAV_INTPTR_T
authorMicah Cowan <micah@cowan.name>
Tue, 25 Sep 2007 06:28:10 +0000 (23:28 -0700)
committerMicah Cowan <micah@cowan.name>
Tue, 25 Sep 2007 06:28:10 +0000 (23:28 -0700)
windows/ChangeLog
windows/config-compiler.h

index f2738e0260627a089c2993660cb43e48b26e75bf..9ca9c8ce9029555f4c7a11fbef720e2dd11f994f 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-24  Christopher Lewis <chris@christopherlewis.com>
+
+       * config-compiler.h: Fix compiler warnings related to
+       HAVE_INTPTR_T.
+
 2007-07-05  Micah Cowan  <micah@cowan.name>
 
        * Makefile.top.bor, Makefile.doc, Makefile.in, Makefile.src:
index fbd139bec70ef0540573fca7d997200bde4b26c8..acd752b44090ae61954cbad8820f7dbd5b4f91f7 100644 (file)
@@ -86,7 +86,7 @@ so, delete this exception statement from your version.  */
 #define HAVE__BOOL 1
 #undef SIZEOF_LONG_LONG                /* avoid redefinition warning */
 #define SIZEOF_LONG_LONG 8
-#define HAVE_INTPTR_T 1 
+#define HAVE_INTPTR_T 1
 #define HAVE_UINTPTR_T 1
 #define HAVE_STRTOLL 1
 \f
@@ -119,10 +119,16 @@ so, delete this exception statement from your version.  */
 # define HAVE__STRTOI64 1
 #endif
 
+#if _MSC_VER >= 1310
+#define HAVE_INTPTR_T 1
+#define HAVE_UINTPTR_T 1
+#endif
+
 #if _MSC_VER >= 1400
 #pragma warning ( disable : 4996 )
 #define _CRT_SECURE_NO_DEPRECATE
 #endif
+
 \f
 #undef HAVE_UTIME_H         /* no <utime.h> */