summaryrefslogtreecommitdiff
path: root/src/uuid.hpp
diff options
context:
space:
mode:
authorunknown <sustrik@.(none)>2009-09-07 15:41:43 +0200
committerunknown <sustrik@.(none)>2009-09-07 15:41:43 +0200
commitf895426c1885729f4a4a20b1eb543a92915aed85 (patch)
tree25655039b193371027107c33551239caa227bcfc /src/uuid.hpp
parent87ccbb9fae0f9234f82f9a9ec6a215f5e73209d3 (diff)
initial changes for win port
Diffstat (limited to 'src/uuid.hpp')
-rw-r--r--src/uuid.hpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/uuid.hpp b/src/uuid.hpp
index 79a9620..81e41a3 100644
--- a/src/uuid.hpp
+++ b/src/uuid.hpp
@@ -21,15 +21,12 @@
#define __ZMQ_UUID_HPP_INCLUDED__
#include "platform.hpp"
+#include "stdint.hpp"
-#if defined ZMQ_HAVE_WINDOWS
-#include <rpcdce.h>
-#elif defined ZMQ_HAVE_FREEBSD
+#if defined ZMQ_HAVE_FREEBSD
#include <uuid.h>
#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX
#include <uuid/uuid.h>
-#else
-#include <stdint.h>
#endif
namespace zmq
@@ -56,8 +53,8 @@ namespace zmq
enum { uuid_string_len = 36 };
#if defined ZMQ_HAVE_WINDOWS
- ::UUID uuid;
- char *uuid_str;
+ ::UUID uuid;
+ RPC_CSTR uuid_str;
#elif defined ZMQ_HAVE_FREEBSD
::uuid_t uuid;
char *uuid_str;