summaryrefslogtreecommitdiff
path: root/src/uuid.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
commitcc3755a16f00026af882ed14d122cc8aa6d50e82 (patch)
tree33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/uuid.hpp
parent183b6887644ac05c951a3f9143248ed86e91052f (diff)
renamed from zs to zmq
Diffstat (limited to 'src/uuid.hpp')
-rw-r--r--src/uuid.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/uuid.hpp b/src/uuid.hpp
index 94c3e8a..79a9620 100644
--- a/src/uuid.hpp
+++ b/src/uuid.hpp
@@ -17,22 +17,22 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ZS_UUID_HPP_INCLUDED__
-#define __ZS_UUID_HPP_INCLUDED__
+#ifndef __ZMQ_UUID_HPP_INCLUDED__
+#define __ZMQ_UUID_HPP_INCLUDED__
#include "platform.hpp"
-#if defined ZS_HAVE_WINDOWS
+#if defined ZMQ_HAVE_WINDOWS
#include <rpcdce.h>
-#elif defined ZS_HAVE_FREEBSD
+#elif defined ZMQ_HAVE_FREEBSD
#include <uuid.h>
-#elif defined ZS_HAVE_LINUX || defined ZS_HAVE_SOLARIS || defined ZS_HAVE_OSX
+#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX
#include <uuid/uuid.h>
#else
#include <stdint.h>
#endif
-namespace zs
+namespace zmq
{
// This class provides RFC 4122 (a Universally Unique IDentifier)
@@ -55,13 +55,13 @@ namespace zs
// The length of textual representation of UUID.
enum { uuid_string_len = 36 };
-#if defined ZS_HAVE_WINDOWS
+#if defined ZMQ_HAVE_WINDOWS
::UUID uuid;
char *uuid_str;
-#elif defined ZS_HAVE_FREEBSD
+#elif defined ZMQ_HAVE_FREEBSD
::uuid_t uuid;
char *uuid_str;
-#elif defined ZS_HAVE_LINUX || defined ZS_HAVE_SOLARIS || defined ZS_HAVE_OSX
+#elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX
::uuid_t uuid;
char uuid_buf [uuid_string_len + 1];
#else