summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-31 15:23:00 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-31 15:23:00 +0200
commit940c5b346b35f2d42360b3371757eb98ef8ba78f (patch)
tree6fc078bd3b8ab0d544401d2c5d53d2e52e19b5bd /include
parentdd7c629a27e6dffad9c659a233216ce56fbd4ef8 (diff)
zmq_msg_t changed to structure
zmq_msg_t being defined as unsigned char[32] could not be stored in STL containers. Fixed by this commit. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zmq.h b/include/zmq.h
index b44bd5e..e236b2a 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -125,7 +125,7 @@ ZMQ_EXPORT const char *zmq_strerror (int errnum);
/* 0MQ message definition. */
/******************************************************************************/
-typedef unsigned char zmq_msg_t [32];
+typedef struct {unsigned char _ [32];} zmq_msg_t;
typedef void (zmq_free_fn) (void *data, void *hint);