From 25dcd00e237144cc1666375c708709f7dd4f7783 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 3 Oct 2014 10:20:46 -0600 Subject: Fix build error with CONFIG_SYSTEM_TIME64 --- nuttx/sched/clock/clock.h | 1 + nuttx/sched/clock/clock_systimer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/nuttx/sched/clock/clock.h b/nuttx/sched/clock/clock.h index 4a05bca02..70eb23fef 100644 --- a/nuttx/sched/clock/clock.h +++ b/nuttx/sched/clock/clock.h @@ -66,6 +66,7 @@ /******************************************************************************** * Global Variables ********************************************************************************/ + #if !defined(CONFIG_SCHED_TICKLESS) && !defined(__HAVE_KERNEL_GLOBALS) /* The system clock exists (CONFIG_SCHED_TICKLESS), but it not prototyped * globally in include/nuttx/clock.h. diff --git a/nuttx/sched/clock/clock_systimer.c b/nuttx/sched/clock/clock_systimer.c index 5d49b019f..530d4b18c 100644 --- a/nuttx/sched/clock/clock_systimer.c +++ b/nuttx/sched/clock/clock_systimer.c @@ -52,6 +52,7 @@ /* See nuttx/clock.h */ #undef clock_systimer +#undef clock_systimer64 /**************************************************************************** * Private Data -- cgit v1.2.3