blob: 39f97f739c5aa792c0cdb8aca7f48a393ca916dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef STLINK_TIME_H
#define STLINK_TIME_H
#ifdef STLINK_HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <windows.h>
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
#ifdef __cplusplus
extern "C" {
#endif
int gettimeofday(struct timeval *tv, struct timezone *tz);
#ifdef __cplusplus
}
#endif
#endif /* STLINK_HAVE_SYS_TIME_H */
#endif /* STLINK_TIME_H */
|