From 23eb4547791a903f1dff8004ffc01db1cc4c1699 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 19 Dec 2007 20:42:12 +0000 Subject: [PATCH] Fix stupid logic --- src/misc/mtime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/misc/mtime.c b/src/misc/mtime.c index d89bbf9352..955e3d3e24 100644 --- a/src/misc/mtime.c +++ b/src/misc/mtime.c @@ -76,9 +76,9 @@ int nanosleep(struct timespec *, struct timespec *); */ # undef CLOCK_MONOTONIC # define CLOCK_MONOTONIC CLOCK_REALTIME -# ifndef HAVE_CLOCK_NANOSLEEP -# error We have quite a situation here! Fix me if it ever happens. -# endif +#elif !defined (HAVE_CLOCK_NANOSLEEP) +/* Clock selection without clock in the first place, I don't think so. */ +# error We have quite a situation here! Fix me if it ever happens. #endif /** -- 2.39.2