diff options
author | Richard Levitte <levitte@openssl.org> | 2002-01-08 10:19:31 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-01-08 10:19:31 +0100 |
commit | fd795679bbcc56980663610c8d9a62ca300b424f (patch) | |
tree | b6094df2b8594f86012727fb0e5cc558bb393a00 /crypto/o_time.c | |
parent | - libtool finally annoyed me too much, so I'm nuking it, (diff) | |
download | openssl-fd795679bbcc56980663610c8d9a62ca300b424f.tar.xz openssl-fd795679bbcc56980663610c8d9a62ca300b424f.zip |
Patches to make OpenSSL compilable on MacOS/X.
Submitted by Pier Fumagalli <pier@betaversion.org>
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 86b78e39e9..1bc0297b36 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)) +#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) /* should return &data, but doesn't on some systems, so we don't even look at the return value */ gmtime_r(timer,result); |