diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/threads.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/threads.h b/include/threads.h index a11405f7..c2848ee7 100644 --- a/include/threads.h +++ b/include/threads.h @@ -33,17 +33,11 @@ typedef void (*altss_dtor_t)(void*); #include <windows.h> -#if !defined(_TIMESPEC_DEFINED) && !(defined(_MSC_VER) && (_MSC_VER >= 1900)) -#define _TIMESPEC_DEFINED +#ifndef HAVE_STRUCT_TIMESPEC struct timespec { time_t tv_sec; long tv_nsec; }; - -struct itimerspec { - struct timespec it_interval; - struct timespec it_value; -}; #endif typedef DWORD althrd_t; |