diff options
| author | mysterywolf <[email protected]> | 2020-12-16 16:05:43 +0800 |
|---|---|---|
| committer | mysterywolf <[email protected]> | 2020-12-16 16:05:43 +0800 |
| commit | e5b10628ee001543c6ee8d458b1dde5d4941953c (patch) | |
| tree | 9114119cc42917866bbcc5512f8da538ffa45d6f /components/libc/compilers/common/sys | |
| parent | 9d004a2892394436e3a07a5dfb3e0fa9e8076433 (diff) | |
update
Diffstat (limited to 'components/libc/compilers/common/sys')
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index 952dbf32a5..06add3ba91 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -36,8 +36,7 @@ struct timeval { }; #endif /* _TIMEVAL_DEFINED */ -#ifndef _TIMESPEC -#define _TIMESPEC +#ifndef __GNUC__ struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* and nanoseconds */ |
