/* In debug mode, timeout */
struct timespec timeout;
-# if (_POSIX_CLOCK_MONOTONIC - 0 >= 0)
+# if defined (_POSIX_CLOCK_MONOTONIC) && (_POSIX_CLOCK_MONOTONIC >= 0)
if( clock_gettime( CLOCK_MONOTONIC, &timeout ) )
# endif
clock_gettime( CLOCK_REALTIME, &timeout );