components,libc,compilers,common,ctime: fix compile error

* `__isleap` is defined as a macro in glibc
This commit is contained in:
Zihao Yu 2023-05-24 12:28:37 +08:00
parent 29b3356427
commit 1f4c0995bf

View file

@ -40,6 +40,8 @@
#define DBG_LVL DBG_INFO
#include <rtdbg.h>
#undef __isleap
#define _WARNING_NO_RTC "Cannot find a RTC device!"
/* seconds per day */