From: George Peter Banyard Date: Wed, 20 May 2020 15:36:07 +0000 (+0200) Subject: Fix [-Wundef] warning in OpenSSL extension X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=999f65c9cd73b17fcfa155a9c0d1675684d3b778;p=php Fix [-Wundef] warning in OpenSSL extension --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 2f85d56c5a..227ce613db 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -589,7 +589,7 @@ static time_t php_openssl_asn1_time_to_time_t(ASN1_UTCTIME * timestr) /* {{{ */ thetime.tm_isdst = -1; ret = mktime(&thetime); -#if HAVE_STRUCT_TM_TM_GMTOFF +#ifdef HAVE_STRUCT_TM_TM_GMTOFF gmadjust = thetime.tm_gmtoff; #else /*