Permalink
Browse files

Don't define struct timespec with VS2015

  • Loading branch information...
kcat committed Jun 7, 2015
1 parent 5543000 commit ed3f32b087b346340eab4747e7dd9284b76437c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/threads.h
View
@@ -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;

0 comments on commit ed3f32b

Please sign in to comment.