We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ab916 commit 19d3143Copy full SHA for 19d3143
ext/standard/hrtime.h
@@ -28,7 +28,7 @@
28
#define PHP_HRTIME_PLATFORM_HPUX 0
29
#define PHP_HRTIME_PLATFORM_AIX 0
30
31
-#if defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0) && defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC)
+#if defined(_POSIX_TIMERS) && ((_POSIX_TIMERS > 0) || defined(__OpenBSD__)) && defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC)
32
# undef PHP_HRTIME_PLATFORM_POSIX
33
# define PHP_HRTIME_PLATFORM_POSIX 1
34
#elif defined(_WIN32) || defined(_WIN64)
0 commit comments