From e959cbd16cb041baf9243d942002681dafd339f8 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 22 Aug 2015 17:42:48 -0300 Subject: [PATCH] Fix OpenAL Soft 1.16 to compile when VS2015 is used. OpenAL Soft 1.17 will also have the fix, when it's released. --- libs/openal-soft/include/threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openal-soft/include/threads.h b/libs/openal-soft/include/threads.h index 25a75625..c3e68d14 100644 --- a/libs/openal-soft/include/threads.h +++ b/libs/openal-soft/include/threads.h @@ -33,7 +33,7 @@ typedef void (*altss_dtor_t)(void*); #include -#ifndef _TIMESPEC_DEFINED +if !defined(_TIMESPEC_DEFINED) && !(defined(_MSC_VER) && (_MSC_VER >= 1900)) #define _TIMESPEC_DEFINED struct timespec { time_t tv_sec;