diff options
author | Chris Robinson <[email protected]> | 2015-06-07 12:01:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-06-07 12:01:15 -0700 |
commit | ed3f32b087b346340eab4747e7dd9284b76437c4 (patch) | |
tree | a6cd45112da0c39e6a7889f82922eb89392b7bd9 /include | |
parent | 5543000c5b15eb14217e9f9e817377da6d786c2e (diff) |
Don't define struct timespec with VS2015
Diffstat (limited to 'include')
-rw-r--r-- | include/threads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/threads.h b/include/threads.h index 75eeb13f..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; |