diff options
Diffstat (limited to 'msvc_extra_headers/ardourext/ptw32/pthread.h.input')
-rw-r--r-- | msvc_extra_headers/ardourext/ptw32/pthread.h.input | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/msvc_extra_headers/ardourext/ptw32/pthread.h.input b/msvc_extra_headers/ardourext/ptw32/pthread.h.input index 0aa4522556..b8646c321b 100644 --- a/msvc_extra_headers/ardourext/ptw32/pthread.h.input +++ b/msvc_extra_headers/ardourext/ptw32/pthread.h.input @@ -308,11 +308,13 @@ enum { #endif #ifndef HAVE_STRUCT_TIMESPEC +#if defined(_MSC_VER) && (_MSC_VER < 1900) #define HAVE_STRUCT_TIMESPEC 1 struct timespec { long tv_sec; long tv_nsec; }; +#endif /* _MSC_VER */ #endif /* HAVE_STRUCT_TIMESPEC */ #ifndef SIG_BLOCK |