From efefa069b2ce407a7da4328ab024c47920a76960 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Fri, 26 Feb 2010 20:03:58 +0100 Subject: Cygwin support --- src/uuid.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/uuid.hpp') diff --git a/src/uuid.hpp b/src/uuid.hpp index dfaef01..d24ef2c 100644 --- a/src/uuid.hpp +++ b/src/uuid.hpp @@ -25,7 +25,8 @@ #if defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD #include -#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX +#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS ||\ + defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN #include #elif defined ZMQ_HAVE_WINDOWS #include @@ -75,7 +76,8 @@ namespace zmq #elif defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD ::uuid_t uuid; char *string_buf; -#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX +#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS ||\ + defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN ::uuid_t uuid; char string_buf [uuid_string_len + 1]; #else -- cgit v1.2.3