Commit 8b86dcf8 authored by Martin Sustrik's avatar Martin Sustrik

build on cygwin enabled

parent 72705454
...@@ -4,6 +4,7 @@ Contributors ...@@ -4,6 +4,7 @@ Contributors
Alexej Lotz Alexej Lotz
Asko Kauppi Asko Kauppi
Barak Amar Barak Amar
Bernd Prager
Chris Wong Chris Wong
Conrad D. Steenberg Conrad D. Steenberg
Dhruva Krishnamurthy Dhruva Krishnamurthy
......
...@@ -200,6 +200,9 @@ case "${host_os}" in ...@@ -200,6 +200,9 @@ case "${host_os}" in
on_mingw32="yes" on_mingw32="yes"
install_man="no" install_man="no"
;; ;;
*cygwin*)
AC_DEFINE(ZMQ_HAVE_CYGWIN, 1, [Have Cygwin])
;;
*) *)
AC_MSG_ERROR([unsupported system: ${host_os}.]) AC_MSG_ERROR([unsupported system: ${host_os}.])
;; ;;
......
...@@ -61,6 +61,8 @@ namespace zmq ...@@ -61,6 +61,8 @@ namespace zmq
typedef devpoll_t poller_t; typedef devpoll_t poller_t;
#elif defined ZMQ_HAVE_OPENVMS #elif defined ZMQ_HAVE_OPENVMS
typedef select_t poller_t; typedef select_t poller_t;
#elif defined ZMQ_HAVE_CYGWIN
typedef select_t poller_t;
#else #else
#error Unsupported platform #error Unsupported platform
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment