diff options
Diffstat (limited to 'include/threads.h')
-rw-r--r-- | include/threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/threads.h b/include/threads.h index 25a75625..a11405f7 100644 --- a/include/threads.h +++ b/include/threads.h @@ -33,7 +33,7 @@ typedef void (*altss_dtor_t)(void*); #include <windows.h> -#ifndef _TIMESPEC_DEFINED +#if !defined(_TIMESPEC_DEFINED) && !(defined(_MSC_VER) && (_MSC_VER >= 1900)) #define _TIMESPEC_DEFINED struct timespec { time_t tv_sec; @@ -234,7 +234,7 @@ void altss_delete(altss_t tss_id); int altimespec_get(struct timespec *ts, int base); -void al_nssleep(time_t sec, long nsec); +void al_nssleep(unsigned long nsec); #ifdef __cplusplus } |