diff options
author | Ulf Möller <ulf@openssl.org> | 2006-08-13 09:03:38 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2006-08-13 09:03:38 +0000 |
commit | 1c23bc5670f22ff7663dcc09fc3b2e9ab4475134 (patch) | |
tree | 16663e2c221243f229df527582e3f62a5a3e3bb2 /crypto/o_time.c | |
parent | 8ea975d07060eac1e20cd9ae5bb74a0a4fb2b1bb (diff) |
Use gmtime on cygwin
Submitted by: Corinna Vinschen
Diffstat (limited to 'crypto/o_time.c')
-rw-r--r-- | crypto/o_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/o_time.c b/crypto/o_time.c index e29091d650..607556b0a6 100644 --- a/crypto/o_time.c +++ b/crypto/o_time.c @@ -73,7 +73,7 @@ struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) { struct tm *ts = NULL; -#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_SYS_OS2) && !defined(__CYGWIN32__) && (!defined(OPENSSL_SYS_VMS) || defined(gmtime_r)) && !defined(OPENSSL_SYS_MACOSX) && !defined(OPENSSL_SYS_SUNOS) +#if defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_SYS_OS2) && (!defined(OPENSSL_SYS_VMS) || defined(gmtime_r)) && !defined(OPENSSL_SYS_MACOSX) && !defined(OPENSSL_SYS_SUNOS) /* should return &data, but doesn't on some systems, so we don't even look at the return value */ gmtime_r(timer,result); |