oops, fix belonging to the previous curl_getdate() fix since it makes MSVC
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Dec 2006 15:00:14 +0000 (15:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Dec 2006 15:00:14 +0000 (15:00 +0000)
use gmtime_r

lib/config-win32.h

index 443be95..8efdf20 100644 (file)
 /* Undef keyword 'const' if it does not work.  */
 /* #undef const */
 
+#if _MSC_VER > 1310
+/* MSVC 2003 has gmtime_r */
+#define HAVE_GMTIME_R
+#endif
+
 /* ---------------------------------------------------------------- */
 /*                        LDAP LIBRARY FILES                        */
 /* ---------------------------------------------------------------- */