mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Cleanup suseconds_t usage
This commit is contained in:
1 parent
c53e2fcc14
commit
216427cea0
4 files changed
+6
-12
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user