diff --git a/deps/w32-pthreads/pthread.h b/deps/w32-pthreads/pthread.h index aadc99d05..0e834aefc 100644 --- a/deps/w32-pthreads/pthread.h +++ b/deps/w32-pthreads/pthread.h @@ -205,6 +205,10 @@ typedef unsigned long DWORD_PTR; typedef unsigned long ULONG_PTR; #endif + +#if defined(_MSC_VER) && _MSC_VER >= 1900 +#define HAVE_STRUCT_TIMESPEC +#endif /* * ----------------- * autoconf switches