From: Michael R Sweet Date: Thu, 3 Apr 2025 14:52:49 +0000 (-0400) Subject: Fix conditional to match. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bbda51d018bd9058fbf7ff386fb87ed6c9b66977;p=thirdparty%2Fcups.git Fix conditional to match. --- diff --git a/cups/clock.c b/cups/clock.c index 7e92940e2f..4981d4751b 100644 --- a/cups/clock.c +++ b/cups/clock.c @@ -46,9 +46,9 @@ cupsGetClock(void) #ifdef _WIN32 ULONGLONG curtick; // Current tick count #else -# ifdef CLOCK_MONOTONIC +# if defined(CLOCK_MONOTONIC) || defined(CLOCK_MONOTONIC_RAW) struct timespec curclock; // Current clock value -# endif // CLOCK_MONOTONIC +# endif // CLOCK_MONOTONIC || CLOCK_MONOTONIC_RAW struct timeval curtime; // Current time value #endif // _WIN32