diff options
| author | Meco Man <[email protected]> | 2021-05-02 09:24:41 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-05-02 09:24:41 +0800 |
| commit | 8ec1a63b2347ce70e9d4bbd6693fd3e73c41be65 (patch) | |
| tree | e77afffd9cdaaf1a59e8a076f24ad6c11a355236 /components/libc/compilers/common/time.c | |
| parent | 47de5265250f76ed1f48f7d1c51beda690a4bd74 (diff) | |
增加tz_dsttime类型定义
Diffstat (limited to 'components/libc/compilers/common/time.c')
| -rw-r--r-- | components/libc/compilers/common/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c index 50fbe0d5cc..8c32ee1ed0 100644 --- a/components/libc/compilers/common/time.c +++ b/components/libc/compilers/common/time.c @@ -424,7 +424,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz) */ if(tz != RT_NULL) { - tz->tz_dsttime = 0; + tz->tz_dsttime = DST_NONE; tz->tz_minuteswest = -(RT_LIBC_FIXED_TIMEZONE * 60); } |
