diff -urp c:\z\a\curl\lib/config-win32.h c:\z\b\curl\lib/config-win32.h
--- c:\z\a\curl\lib/config-win32.h	2007-02-13 22:21:44.000000000 +0100
+++ c:\z\b\curl\lib/config-win32.h	2007-02-14 03:19:41.615760000 +0100
@@ -352,9 +352,9 @@
 /* Undef keyword 'const' if it does not work.  */
 /* #undef const */
 
-#if defined(_MSC_VER) && (_MSC_VER > 1310) && (_MSC_VER < 1400)
-/* MSVC 2003 has gmtime_r, MSVC 2005 doesn't */
-#define HAVE_GMTIME_R
+/* MSVC should not have HAVE_GMTIME_R defined */
+#ifdef _MSC_VER
+#undef HAVE_GMTIME_R
 #endif
 
 /* ---------------------------------------------------------------- */
