Skip to content

Commit ac2ce94

Browse files
authored
zend_hrtime: Fix build for macOS without clock_gettime_nsec_np() (#17437)
1 parent 5c39a46 commit ac2ce94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_hrtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ BEGIN_EXTERN_C()
6666

6767
ZEND_API extern double zend_hrtime_timer_scale;
6868

69-
#elif ZEND_HRTIME_PLATFORM_APPLE
69+
#elif ZEND_HRTIME_PLATFORM_APPLE_MACH_ABSOLUTE
7070

7171
# include <mach/mach_time.h>
7272
# include <string.h>

0 commit comments

Comments
 (0)