diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-15 01:58:37 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-15 01:58:37 +0000 |
commit | d86e6d3ed2cf6422cc3d85433486b97c7c9a99bb (patch) | |
tree | 22ed7af62a1e0826329bd3d350be849ecf72719b | |
parent | f99ca905404b4215bf077fa36dd603706958f2cd (diff) |
Do not define HAVE_GMTIME_R for native Windows builds
-rw-r--r-- | lib/config-win32.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 3e1721204..41df3d9e3 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -2,7 +2,7 @@ #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 const */ -#if defined(_MSC_VER) && (_MSC_VER > 1310) && (_MSC_VER < 1400) -/* MSVC 2003 has gmtime_r, MSVC 2005 doesn't */ -#define HAVE_GMTIME_R -#endif +/* Windows should not have HAVE_GMTIME_R defined */ +/* #undef HAVE_GMTIME_R */ /* ---------------------------------------------------------------- */ /* LDAP LIBRARY FILES */ |