]> sjero.net Git - wget/blobdiff - src/ptimer.c
[svn] Check for defined-ness of _POSIX_MONOTONIC_CLOCK, don't require
[wget] / src / ptimer.c
index e6979216aa60399c7c97d7ccda883135cda24437..45a389a847e67db993c0880ef8039596e6093662 100644 (file)
@@ -183,7 +183,7 @@ ptimer_init (void)
 {
   struct timespec res;
 
-#if _POSIX_MONOTONIC_CLOCK > 0
+#ifdef _POSIX_MONOTONIC_CLOCK
   if (sysconf (_SC_MONOTONIC_CLOCK) > 0)
     posix_clock_id = CLOCK_MONOTONIC;
   else