[Mesa-dev] [PATCH] c11: Do not include threads_win32.h if using Pthreads.
Vinson Lee
vlee at freedesktop.org
Wed Jun 4 16:17:44 PDT 2014
Signed-off-by: Vinson Lee <vlee at 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
More information about the mesa-dev
mailing list