From 318a8258fdac1a103eec29878c91850199cfdfd0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 5 Dec 2006 15:00:14 +0000 Subject: oops, fix belonging to the previous curl_getdate() fix since it makes MSVC use gmtime_r --- lib/config-win32.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/config-win32.h b/lib/config-win32.h index 443be95e6..8efdf209b 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -352,6 +352,11 @@ /* 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 */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3