Cleanup suseconds_t usage

This commit is contained in:
Sergey Lyubka committed 2022-01-14 12:33:06 +00:00
1 parent c53e2fcc14
commit 216427cea0
4 files changed
+6 -12

No files matched your search

+1 -2
View File
@@ -61,10 +61,9 @@ static inline void *mg_calloc(int cnt, size_t size) {
#if !defined(__GNUC__)
// copied from GCC on ARM; for some reason useconds are signed
typedef long suseconds_t;
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
long tv_usec;
};
#endif