]> granicus.if.org Git - php/commitdiff
Fix [-Wundef] warning in OpenSSL extension
authorGeorge Peter Banyard <girgias@php.net>
Wed, 20 May 2020 15:36:07 +0000 (17:36 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Wed, 20 May 2020 16:22:10 +0000 (18:22 +0200)
ext/openssl/openssl.c

index 2f85d56c5a0ba8d7169281fc6505d7be2abebee0..227ce613db64db639b7611ca17ee2dc36fd72483 100644 (file)
@@ -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
        /*