mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
Do not define HAVE_GMTIME_R for native Windows builds
This commit is contained in:
parent
f99ca90540
commit
d86e6d3ed2
@ -2,7 +2,7 @@
|
|||||||
#define __LIB_CONFIG_WIN32_H
|
#define __LIB_CONFIG_WIN32_H
|
||||||
|
|
||||||
/* ================================================================ */
|
/* ================================================================ */
|
||||||
/* lib/config-win32.h - Hand crafted config file for windows */
|
/* lib/config-win32.h - Hand crafted config file for Windows */
|
||||||
/* ================================================================ */
|
/* ================================================================ */
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
/* ---------------------------------------------------------------- */
|
||||||
@ -352,10 +352,8 @@
|
|||||||
/* Undef keyword 'const' if it does not work. */
|
/* Undef keyword 'const' if it does not work. */
|
||||||
/* #undef const */
|
/* #undef const */
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER > 1310) && (_MSC_VER < 1400)
|
/* Windows should not have HAVE_GMTIME_R defined */
|
||||||
/* MSVC 2003 has gmtime_r, MSVC 2005 doesn't */
|
/* #undef HAVE_GMTIME_R */
|
||||||
#define HAVE_GMTIME_R
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------- */
|
/* ---------------------------------------------------------------- */
|
||||||
/* LDAP LIBRARY FILES */
|
/* LDAP LIBRARY FILES */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user