diff options
author | Steven McCoy <steven.mccoy@miru.hk> | 2011-07-18 10:54:53 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-07-18 10:54:53 +0200 |
commit | 18d8be5e9259e72a5a0622a5594842c31dd7bfdb (patch) | |
tree | c06a905426f24acbbe66b12e1e0905ecc7782dc2 /src | |
parent | ac20e17cbd1471b9eb3eef79c32cb43420cbc516 (diff) |
Fix pollin on Cygwin.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
Signed-off-by: Martin Sustrik <sustrik@250bom.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/signaler.cpp | 3 | ||||
-rw-r--r-- | src/zmq.cpp | 3 |
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 |