summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/signaler.cpp3
-rw-r--r--src/zmq.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/signaler.cpp b/src/signaler.cpp
index 4803f61..57c7f55 100644
--- a/src/signaler.cpp
+++ b/src/signaler.cpp
@@ -30,7 +30,8 @@
defined ZMQ_HAVE_HPUX || defined ZMQ_HAVE_AIX ||\
defined ZMQ_HAVE_NETBSD
#define ZMQ_SIGNALER_WAIT_BASED_ON_POLL
-#elif defined ZMQ_HAVE_WINDOWS || defined ZMQ_HAVE_OPENVMS
+#elif defined ZMQ_HAVE_WINDOWS || defined ZMQ_HAVE_OPENVMS ||\
+ defined ZMQ_HAVE_CYGWIN
#define ZMQ_SIGNALER_WAIT_BASED_ON_SELECT
#endif
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 2fa60a2..7119542 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -332,7 +332,8 @@ size_t zmq_msg_size (zmq_msg_t *msg_)
defined ZMQ_HAVE_HPUX || defined ZMQ_HAVE_AIX ||\
defined ZMQ_HAVE_NETBSD
#define ZMQ_POLL_BASED_ON_POLL
-#elif defined ZMQ_HAVE_WINDOWS || defined ZMQ_HAVE_OPENVMS
+#elif defined ZMQ_HAVE_WINDOWS || defined ZMQ_HAVE_OPENVMS ||\
+ defined ZMQ_HAVE_CYGWIN
#define ZMQ_POLL_BASED_ON_SELECT
#endif