From e918b206d26b1f3b2100b0edabf445c18708d2b7 Mon Sep 17 00:00:00 2001 From: Marat Dukhan Date: Thu, 16 Apr 2020 18:38:42 -0700 Subject: Recognize Cygwin as Windows --- src/threadpool-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threadpool-common.h b/src/threadpool-common.h index 8576517..ca84744 100644 --- a/src/threadpool-common.h +++ b/src/threadpool-common.h @@ -23,7 +23,7 @@ #endif #ifndef PTHREADPOOL_USE_EVENT - #if defined(_WIN32) + #if defined(_WIN32) || defined(__CYGWIN__) #define PTHREADPOOL_USE_EVENT 1 #else #define PTHREADPOOL_USE_EVENT 0 -- cgit v1.2.3