Changes to have OpenSSL compile on OS/2.

Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
This commit is contained in:
Richard Levitte
2001-07-01 22:39:46 +00:00
parent b7a26e6daf
commit dc01b6b1f2
11 changed files with 350 additions and 4 deletions

View File

@@ -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);