0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

build on cygwin enabled

This commit is contained in:
Martin Sustrik 2010-02-19 17:50:47 +01:00
parent 727054547f
commit 8b86dcf81c
3 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Contributors
Alexej Lotz
Asko Kauppi
Barak Amar
Bernd Prager
Chris Wong
Conrad D. Steenberg
Dhruva Krishnamurthy

View File

@ -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}.])
;;

View File

@ -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