From: Zhang Xianyi Date: Fri, 23 Aug 2013 17:10:02 +0000 (+0800) Subject: Refs #281. Detect _WIN32 macro for Windows API. X-Git-Tag: v0.2.9.rc1~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52f587db7fb3f1273f1e01b8066100c0c8982ccc;p=platform%2Fupstream%2Fopenblas.git Refs #281. Detect _WIN32 macro for Windows API. http://www.mail-archive.com/bug-gnulib@gnu.org/msg05722.html --- diff --git a/common_thread.h b/common_thread.h index 97e0609..2dcc348 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