From: Michael R Sweet Date: Thu, 3 Apr 2025 14:52:30 +0000 (-0400) Subject: Fix conditional to match. X-Git-Tag: v2.4.12~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd4296f3fc22460deb37151b82b77754c12f9ed;p=thirdparty%2Fcups.git Fix conditional to match. --- diff --git a/cups/clock.c b/cups/clock.c index 53da9fb22a..80bb5c5457 100644 --- a/cups/clock.c +++ b/cups/clock.c @@ -44,9 +44,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