summaryrefslogtreecommitdiff
path: root/src/uuid.hpp
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-05-12 16:49:49 +0200
committerMartin Lucina <mato@kotelna.sk>2010-05-12 16:49:49 +0200
commitf6c1c972428f15356af09d6922910ef44d1f6cb3 (patch)
tree6d12b6e0685429dead952445326ea7415dd9c9f9 /src/uuid.hpp
parent52ef3f3f2c6f3ba1717b2e729556df713c022636 (diff)
parent127cb89ac1271bf85798294d450509b7c23019bd (diff)
Merge branch 'master' of github.com:sustrik/zeromq2
Diffstat (limited to 'src/uuid.hpp')
-rw-r--r--src/uuid.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/uuid.hpp b/src/uuid.hpp
index a39bc99..da365ae 100644
--- a/src/uuid.hpp
+++ b/src/uuid.hpp
@@ -30,6 +30,14 @@
#include <uuid/uuid.h>
#elif defined ZMQ_HAVE_WINDOWS
#include <rpc.h>
+#elif defined ZMQ_HAVE_OPENVMS
+typedef struct
+{
+ unsigned long data0;
+ unsigned short data1;
+ unsigned short data2;
+ unsigned char data3 [8];
+} uuid_t;
#endif
namespace zmq
@@ -77,7 +85,8 @@ namespace zmq
::uuid_t uuid;
char *string_buf;
#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS ||\
- defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN
+ defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN ||\
+ defined ZMQ_HAVE_OPENVMS
::uuid_t uuid;
char string_buf [uuid_string_len + 1];
#else