diff options
| author | Meco Man <[email protected]> | 2021-02-08 10:55:08 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-08 10:55:08 +0800 |
| commit | 3e9c77efd5aac880e2f5d5db895d50c227dda663 (patch) | |
| tree | d98e36117bb320819f2db7f9fdf7d7203824be50 /components/libc/compilers/common/time.c | |
| parent | 9b428e519fc91204f4be5e91f1436ba6fd63119b (diff) | |
优化IAR
Diffstat (limited to 'components/libc/compilers/common/time.c')
| -rw-r--r-- | components/libc/compilers/common/time.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c index bd251d99bf..bc77aee510 100644 --- a/components/libc/compilers/common/time.c +++ b/components/libc/compilers/common/time.c @@ -18,9 +18,6 @@ #include <rtdevice.h> #endif - -#if !defined (__IAR_SYSTEMS_ICC__) - /* seconds per day */ #define SPD 24*60*60 @@ -155,8 +152,6 @@ char* ctime(const time_t *timep) return asctime(localtime(timep)); } -#endif /* __IAR_SYSTEMS_ICC__ */ - /** * Returns the current time. * |
