We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07812be commit bcd4296Copy full SHA for bcd4296
1 file changed
cups/clock.c
@@ -44,9 +44,9 @@ _cupsGetClock(void)
44
#ifdef _WIN32
45
ULONGLONG curtick; // Current tick count
46
#else
47
-# ifdef CLOCK_MONOTONIC
+# if defined(CLOCK_MONOTONIC) || defined(CLOCK_MONOTONIC_RAW)
48
struct timespec curclock; // Current clock value
49
-# endif // CLOCK_MONOTONIC
+# endif // CLOCK_MONOTONIC || CLOCK_MONOTONIC_RAW
50
struct timeval curtime; // Current time value
51
#endif // _WIN32
52
0 commit comments