From: RĂ©mi Denis-Courmont Date: Wed, 19 Dec 2007 20:42:12 +0000 (+0000) Subject: Fix stupid logic X-Git-Tag: 0.9.0-test0~4000 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=23eb4547791a903f1dff8004ffc01db1cc4c1699;p=vlc Fix stupid logic --- 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 /**