From: Daniel Stenberg Date: Tue, 5 Dec 2006 15:00:14 +0000 (+0000) Subject: oops, fix belonging to the previous curl_getdate() fix since it makes MSVC X-Git-Tag: curl-7_16_1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=318a8258fdac1a103eec29878c91850199cfdfd0;p=thirdparty%2Fcurl.git oops, fix belonging to the previous curl_getdate() fix since it makes MSVC use gmtime_r --- diff --git a/lib/config-win32.h b/lib/config-win32.h index 443be95e66..8efdf209b6 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 */ /* ---------------------------------------------------------------- */