From 3e9c77efd5aac880e2f5d5db895d50c227dda663 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 8 Feb 2021 10:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96IAR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/common/time.c | 5 ----- 1 file changed, 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 #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. * -- GitLab