diff options
author | Marat Dukhan <maratek@gmail.com> | 2020-04-16 18:38:42 -0700 |
---|---|---|
committer | Marat Dukhan <maratek@gmail.com> | 2020-04-16 18:38:42 -0700 |
commit | e918b206d26b1f3b2100b0edabf445c18708d2b7 (patch) | |
tree | a1fbe077f93130dfbb8a5633bc7fa9c8498fe9ce /src/threadpool-common.h | |
parent | a61ed1ab70389c62f6f699ca1a30a2421d3ea594 (diff) | |
download | pthreadpool-e918b206d26b1f3b2100b0edabf445c18708d2b7.tar.gz |
Recognize Cygwin as Windows
Diffstat (limited to 'src/threadpool-common.h')
-rw-r--r-- | src/threadpool-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |