diff options
author | Ulf Möller <ulf@openssl.org> | 2000-09-09 04:45:18 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-09-09 04:45:18 +0000 |
commit | 4f7068c165b84f8f788a5fdbd2a1ef4253e44e9c (patch) | |
tree | 66e9bb9e2ffb70460d5464e6e34734f1b226d401 /crypto/asn1/a_time.c | |
parent | b144a5e907b5807248496ac6714a2c1a0b58e11c (diff) | |
download | openssl-4f7068c165b84f8f788a5fdbd2a1ef4253e44e9c.tar.gz |
Fix some CygWin problems.
Diffstat (limited to 'crypto/asn1/a_time.c')
-rw-r--r-- | crypto/asn1/a_time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c index b193f1c71f..8c0ddee4ac 100644 --- a/crypto/asn1/a_time.c +++ b/crypto/asn1/a_time.c @@ -113,11 +113,9 @@ ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, unsigned char **pp, long length) ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t) { struct tm *ts; -#if defined(THREADS) && !defined(WIN32) +#if defined(THREADS) && !defined(WIN32) && !defined(__CYGWIN32__) struct tm data; -#endif -#if defined(THREADS) && !defined(WIN32) gmtime_r(&t,&data); ts=&data; /* should return &data, but doesn't on some systems, so we don't even look at the return value */ #else |