From 3daeff2786ce1d6d8e58f0ad15e693f2c48c94f9 Mon Sep 17 00:00:00 2001 From: malosek Date: Mon, 5 Oct 2009 15:06:40 +0200 Subject: mingw port --- src/uuid.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/uuid.hpp') diff --git a/src/uuid.hpp b/src/uuid.hpp index 81e41a3..e4716de 100644 --- a/src/uuid.hpp +++ b/src/uuid.hpp @@ -27,6 +27,8 @@ #include #elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX #include +#elif defined ZMQ_HAVE_WINDOWS +#include #endif namespace zmq @@ -53,7 +55,10 @@ namespace zmq enum { uuid_string_len = 36 }; #if defined ZMQ_HAVE_WINDOWS - ::UUID uuid; +#ifdef ZMQ_HAVE_MINGW32 + typedef unsigned char* RPC_CSTR; +#endif + ::UUID uuid; RPC_CSTR uuid_str; #elif defined ZMQ_HAVE_FREEBSD ::uuid_t uuid; -- cgit v1.2.3