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

index 7e92940e2fcd4a588980eda59f71225f20af18e0..4981d4751bdf9300c8852c39990db728dc4d1258 100644 (file)
@@ -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