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/sys | |
| parent | 47de5265250f76ed1f48f7d1c51beda690a4bd74 (diff) | |
增加tz_dsttime类型定义
Diffstat (limited to 'components/libc/compilers/common/sys')
| -rw-r--r-- | components/libc/compilers/common/sys/mman.h | 2 | ||||
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/components/libc/compilers/common/sys/mman.h b/components/libc/compilers/common/sys/mman.h index a9235d61f0..2da2ddf716 100644 --- a/components/libc/compilers/common/sys/mman.h +++ b/components/libc/compilers/common/sys/mman.h @@ -16,7 +16,7 @@ extern "C" { #endif #include <sys/types.h> - + #define MAP_FAILED ((void *) -1) #define MAP_SHARED 0x01 diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index 24da0b6c77..be453ba276 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -20,6 +20,19 @@ extern "C" { #ifndef _TIMEVAL_DEFINED #define _TIMEVAL_DEFINED + +#define DST_NONE 0 /* not on dst */ +#define DST_USA 1 /* USA style dst */ +#define DST_AUST 2 /* Australian style dst */ +#define DST_WET 3 /* Western European dst */ +#define DST_MET 4 /* Middle European dst */ +#define DST_EET 5 /* Eastern European dst */ +#define DST_CAN 6 /* Canada */ +#define DST_GB 7 /* Great Britain and Eire */ +#define DST_RUM 8 /* Rumania */ +#define DST_TUR 9 /* Turkey */ +#define DST_AUSTALT 10 /* Australian style with shift in 1986 */ + /* * Structure returned by gettimeofday(2) system call, * and used in other calls. |
