From bb6fba2183a2f12d47a81c761936bc7b86dab848 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 4 Oct 2016 17:19:47 -0700 Subject: Properly check for struct timespec --- include/threads.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/threads.h') 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 -#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; -- cgit v1.2.3