From 52f587db7fb3f1273f1e01b8066100c0c8982ccc Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Sat, 24 Aug 2013 01:10:02 +0800 Subject: [PATCH] Refs #281. Detect _WIN32 macro for Windows API. http://www.mail-archive.com/bug-gnulib@gnu.org/msg05722.html --- common_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_thread.h b/common_thread.h index 97e060976..2dcc348f2 100644 --- a/common_thread.h +++ b/common_thread.h @@ -103,7 +103,7 @@ typedef struct blas_queue { struct blas_queue *next; -#if defined( __WIN32__) || defined(__CYGWIN32__) +#if defined( __WIN32__) || defined(__CYGWIN32__) || defined(_WIN32) CRITICAL_SECTION lock; HANDLE finish; #else