]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix conditional to match.
authorMichael R Sweet <msweet@msweet.org>
Thu, 3 Apr 2025 14:52:30 +0000 (10:52 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 3 Apr 2025 14:52:30 +0000 (10:52 -0400)
cups/clock.c

index 53da9fb22ad8248a4cbc03a773f4587df36f9aa3..80bb5c5457967c8ae5a1790a61fa9ea50951e88f 100644 (file)
@@ -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