Signed-off-by: Vinson Lee <v...@freedesktop.org>
---
 include/c11/threads.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/c11/threads.h b/include/c11/threads.h
index 45823df..e251a79 100644
--- a/include/c11/threads.h
+++ b/include/c11/threads.h
@@ -66,7 +66,7 @@ enum {
 
 /*-------------------------- functions --------------------------*/
 
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(HAVE_PTHREAD)
 #include "threads_win32.h"
 #elif defined(HAVE_PTHREAD)
 #include "threads_posix.h"
-- 
1.9.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to