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