diff options
| author | armink <[email protected]> | 2018-05-07 18:05:10 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2018-05-07 18:05:10 +0800 |
| commit | 201d2830e685bccde3fdc0adfd736de944339d4f (patch) | |
| tree | 51476ce725d6af09809fd95157acde225c1c5a9a /components/libc/compilers/newlib | |
| parent | 25e709eefbba819100e53159c6c7e2ddc31fd520 (diff) | |
[components/libc] Remove #if defined(RT_USING_RTC) on time.c.
Diffstat (limited to 'components/libc/compilers/newlib')
| -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; |
