summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/confdefs/clock.h')
-rw-r--r--cpukit/include/rtems/confdefs/clock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/include/rtems/confdefs/clock.h b/cpukit/include/rtems/confdefs/clock.h
index d35757561d..e57daa899b 100644
--- a/cpukit/include/rtems/confdefs/clock.h
+++ b/cpukit/include/rtems/confdefs/clock.h
@@ -70,8 +70,7 @@
#warning "The clock ticks per second is not an integer"
#endif
-#if defined(CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER) \
- && defined(CONFIGURE_TICKS_PER_TIMESLICE) \
+#if defined(CONFIGURE_TICKS_PER_TIMESLICE) \
&& CONFIGURE_TICKS_PER_TIMESLICE <= 0
#error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
#endif