Browse Source

Fix OpenAL Soft 1.16 to compile when VS2015 is used.

OpenAL Soft 1.17 will also have the fix, when it's released.
Alex Szpakowski 10 years ago
parent
commit
e959cbd16c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libs/openal-soft/include/threads.h

+ 1 - 1
libs/openal-soft/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;