diff options
| author | Meco Man <[email protected]> | 2022-05-15 14:52:00 -0400 |
|---|---|---|
| committer | guo <[email protected]> | 2022-05-16 10:02:22 +0800 |
| commit | b793b6427a9093663a89cbca786c52d17c077266 (patch) | |
| tree | db745068a760add9916a0f3a9552cbecc96fdf43 /components/libc/compilers/common/sys/time.h | |
| parent | 19abf927d210338ea830908af7de37bb23d12682 (diff) | |
[sal] add draft for docking winsock
Diffstat (limited to 'components/libc/compilers/common/sys/time.h')
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index b7b193d25a..8a4dbb68f3 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -43,14 +43,14 @@ struct timezone int tz_dsttime; /* type of dst correction */ }; -#if !defined(_TIMEVAL_DEFINED) +#ifndef _TIMEVAL_DEFINED #define _TIMEVAL_DEFINED struct timeval { time_t tv_sec; /* seconds */ suseconds_t tv_usec; /* and microseconds */ }; -#endif /* !defined(_TIMEVAL_DEFINED) && !defined(_WIN32) */ +#endif /* _TIMEVAL_DEFINED */ #if defined(__ARMCC_VERSION) || defined(_WIN32) || (defined(__ICCARM__) && (__VER__ < 8010001)) struct timespec |
