|
@@ -320,6 +320,9 @@ typedef DWORD clockid_t;
|
|
#define CLOCK_REALTIME (2)
|
|
#define CLOCK_REALTIME (2)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#if defined(_MSC_VER) && (_MSC_VER >= 1900)
|
|
|
|
+#define _TIMESPEC_DEFINED
|
|
|
|
+#endif
|
|
#ifndef _TIMESPEC_DEFINED
|
|
#ifndef _TIMESPEC_DEFINED
|
|
struct timespec {
|
|
struct timespec {
|
|
time_t tv_sec; /* seconds */
|
|
time_t tv_sec; /* seconds */
|