]> sjero.net Git - wget/blobdiff - windows/config-compiler.h
[svn] Apply Christopher Lewis' patch re HAV_INTPTR_T
[wget] / windows / config-compiler.h
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> */