diff options
Diffstat (limited to 'components/libc/compilers/newlib/time.c')
| -rw-r--r-- | components/libc/compilers/newlib/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/newlib/time.c b/components/libc/compilers/newlib/time.c index 7b9c2f185b..29755dca2c 100644 --- a/components/libc/compilers/newlib/time.c +++ b/components/libc/compilers/newlib/time.c @@ -1,7 +1,7 @@ #include <sys/time.h> #include <rtthread.h> -#if defined(RT_USING_DEVICE) && defined(RT_USING_RTC) +#ifdef RT_USING_DEVICE int gettimeofday(struct timeval *tp, void *ignore) { time_t time; |
