Skip to content

Commit bbda51d

Browse files
committed
Fix conditional to match.
1 parent 392c715 commit bbda51d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cups/clock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ cupsGetClock(void)
4646
#ifdef _WIN32
4747
ULONGLONG curtick; // Current tick count
4848
#else
49-
# ifdef CLOCK_MONOTONIC
49+
# if defined(CLOCK_MONOTONIC) || defined(CLOCK_MONOTONIC_RAW)
5050
struct timespec curclock; // Current clock value
51-
# endif // CLOCK_MONOTONIC
51+
# endif // CLOCK_MONOTONIC || CLOCK_MONOTONIC_RAW
5252
struct timeval curtime; // Current time value
5353
#endif // _WIN32
5454

0 commit comments

Comments
 (0)