projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use gmtime on cygwin
[openssl.git]
/
crypto
/
o_time.c
diff --git
a/crypto/o_time.c
b/crypto/o_time.c
index e29091d6504c1fab544be3da4ac2fbcf4f74e741..607556b0a630319181c8529a03501853541a6f4d 100644
(file)
--- 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;
{
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);
/* should return &data, but doesn't on some systems,
so we don't even look at the return value */
gmtime_r(timer,result);