rtl433  UNKNOWN
RTL-433 utility
compat_time.h
Go to the documentation of this file.
1 
9 #ifndef INCLUDE_COMPAT_TIME_H_
10 #define INCLUDE_COMPAT_TIME_H_
11 
12 // ensure struct timeval is known
13 #ifdef _WIN32
14 #include <winsock2.h>
15 #else
16 #include <sys/time.h>
17 #endif
18 
19 // platform-specific functions
20 
21 #ifdef _WIN32
22 int gettimeofday(struct timeval *tv, void *tz);
23 #endif
24 
25 #endif /* INCLUDE_COMPAT_TIME_H_ */
Definition: mongoose.h:1208
int gettimeofday(struct timeval *tv, void *tz)
Definition: compat_time.c:29