summaryrefslogtreecommitdiffstats
path: root/crypto/o_time.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-07-01 22:39:46 +0000
committerRichard Levitte <levitte@openssl.org>2001-07-01 22:39:46 +0000
commitdc01b6b1f20e9fa8a975f5f28e55fdaa75fe37e6 (patch)
treebe53597dae0d499197a282d9d0b4558b01c251c0 /crypto/o_time.c
parentb7a26e6dafdbf97513e968a45757a4d4e9843ba2 (diff)
Changes to have OpenSSL compile on OS/2.
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
Diffstat (limited to 'crypto/o_time.c')
-rw-r--r--crypto/o_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/o_time.c b/crypto/o_time.c
index 136ea567b7..61f30315cf 100644
--- a/crypto/o_time.c
+++ b/crypto/o_time.c
@@ -72,7 +72,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(__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))
/* should return &data, but doesn't on some systems,
so we don't even look at the return value */
gmtime_r(timer,result);