components,libc,compilers,common,ctime: fix compile error
* `__isleap` is defined as a macro in glibc
This commit is contained in:
parent
29b3356427
commit
1f4c0995bf
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue