1
0
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:
Jorg Adam Sowa
2025-01-16 18:57:51 +01:00
committed by GitHub
parent 5c39a4636b
commit ac2ce94de0

View File

@@ -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>