summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-19 17:50:47 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-19 17:50:47 +0100
commit8b86dcf81cc7b80267f334f4f26dfd319532ad25 (patch)
tree5e65668a2c675a26d7f4bf6ea039374b01d22ba6
parent727054547f32680f7db098497c2d7b1a0b20e2d8 (diff)
build on cygwin enabled
-rw-r--r--AUTHORS1
-rw-r--r--configure.in3
-rw-r--r--src/poller.hpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 8e2bd72..a76d32e 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -4,6 +4,7 @@ Contributors
Alexej Lotz
Asko Kauppi
Barak Amar
+Bernd Prager
Chris Wong
Conrad D. Steenberg
Dhruva Krishnamurthy
diff --git a/configure.in b/configure.in
index 20cd8c5..30283ef 100644
--- a/configure.in
+++ b/configure.in
@@ -200,6 +200,9 @@ case "${host_os}" in
on_mingw32="yes"
install_man="no"
;;
+ *cygwin*)
+ AC_DEFINE(ZMQ_HAVE_CYGWIN, 1, [Have Cygwin])
+ ;;
*)
AC_MSG_ERROR([unsupported system: ${host_os}.])
;;
diff --git a/src/poller.hpp b/src/poller.hpp
index 49d466b..3c29603 100644
--- a/src/poller.hpp
+++ b/src/poller.hpp
@@ -61,6 +61,8 @@ namespace zmq
typedef devpoll_t poller_t;
#elif defined ZMQ_HAVE_OPENVMS
typedef select_t poller_t;
+#elif defined ZMQ_HAVE_CYGWIN
+ typedef select_t poller_t;
#else
#error Unsupported platform
#endif