mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
在time.c中增加RT_LIBC_FIXED_TIMEZONE默认值,防止有些工程没有配置RT_LIBC_FIXED_TIMEZONE
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
#define DBG_LVL DBG_INFO
|
||||
#include <rtdbg.h>
|
||||
|
||||
#ifndef RT_LIBC_FIXED_TIMEZONE
|
||||
#define RT_LIBC_FIXED_TIMEZONE 8
|
||||
#endif
|
||||
|
||||
/* seconds per day */
|
||||
#define SPD 24*60*60
|
||||
|
||||
|
||||
Reference in New Issue
Block a user