summaryrefslogtreecommitdiff
path: root/cmake/msvc/sys/time.h
blob: 7594dae401b0e7bdda61e5206a9db0bbc1efe04a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _MSC_VER // [
#error "Use this header only with Microsoft Visual C++ compilers!"
#endif // _MSC_VER ]

#ifndef _MSC_SYS_TIME_H_
#define _MSC_SYS_TIME_H_

#include < time.h >

#if _MSC_VER < 1900
struct timespec {
time_t tv_sec; /*! \brief Seconds since 00:00:00 GMT, 1 January 1970 */
long tv_nsec; /*! \brief Additional nanoseconds since tv_sec */
};
#endif

#endif //_MSC_SYS_TIME_H_