diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-12-05 15:00:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-12-05 15:00:14 +0000 |
commit | 318a8258fdac1a103eec29878c91850199cfdfd0 (patch) | |
tree | 9535648b5640a3f841c400836333b10857473980 | |
parent | 17ae28e0feb08da02d785a69d08116d877df5ca9 (diff) |
oops, fix belonging to the previous curl_getdate() fix since it makes MSVC
use gmtime_r
-rw-r--r-- | lib/config-win32.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ /* ---------------------------------------------------------------- */ |