com php-src: Fixed Bug #75149 redefinition of typedefs ttinfo and t1info: ext/date/lib/timelib_private.h

From: Date: Mon, 04 Sep 2017 16:35:42 +0000
Subject: com php-src: Fixed Bug #75149 redefinition of typedefs ttinfo and t1info: ext/date/lib/timelib_private.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99246@lists.php.net to get a copy of this message
Commit: a1bf36778a9bd3081e47da8cb9e4f0461aa46d80 Author: Remi Collet <remi@php.net> Mon, 4 Sep 2017 18:35:42 +0200 Parents: ea734e2ac201fabf1d025fcced9832dc01a9db23 Branches: PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a1bf36778a9bd3081e47da8cb9e4f0461aa46d80 Log: Fixed Bug #75149 redefinition of typedefs ttinfo and t1info Minimal fix from upstream Better name for struct will come later Bugs: https://bugs.php.net/75149 Changed paths: M ext/date/lib/timelib_private.h Diff: diff --git a/ext/date/lib/timelib_private.h b/ext/date/lib/timelib_private.h index cd402e0..efc7c80 100644 --- a/ext/date/lib/timelib_private.h +++ b/ext/date/lib/timelib_private.h @@ -115,7 +115,7 @@ m = NULL; \ } -typedef struct ttinfo +struct ttinfo { int32_t offset; int isdst; @@ -123,13 +123,13 @@ typedef struct ttinfo unsigned int isstdcnt; unsigned int isgmtcnt; -} ttinfo; +}; -typedef struct tlinfo +struct tlinfo { int32_t trans; int32_t offset; -} tlinfo; +}; #ifndef LONG_MAX

« previous php.cvs (#99246) next »