[php-src] PR #17437: zend_hrtime: fix for macOS
| From: | jorgsowa | Date: | Fri, 10 Jan 2025 19:42:02 +0000 |
| Subject: | [php-src] PR #17437: zend_hrtime: fix for macOS | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30347@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17437
Author: jorgsowa
One declaration was missed in https://github.com/php/php-src/pull/17089 and
because of that complication is failing.
Example:
> /Users/x/php-src/Zend/zend_hrtime.h:92:47: error: use of undeclared identifier
> 'zend_hrtime_timerlib_info'
> 92 | return (zend_hrtime_t)mach_absolute_time() * zend_hrtime_timerlib_info.numer /
> zend_hrtime_timerlib_info.denom;