mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
zend_hrtime: Fix build for macOS without clock_gettime_nsec_np() (#17437)
This commit is contained in:
@@ -66,7 +66,7 @@ BEGIN_EXTERN_C()
|
|||||||
|
|
||||||
ZEND_API extern double zend_hrtime_timer_scale;
|
ZEND_API extern double zend_hrtime_timer_scale;
|
||||||
|
|
||||||
#elif ZEND_HRTIME_PLATFORM_APPLE
|
#elif ZEND_HRTIME_PLATFORM_APPLE_MACH_ABSOLUTE
|
||||||
|
|
||||||
# include <mach/mach_time.h>
|
# include <mach/mach_time.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user