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>
This commit is contained in:
Martin Sustrik
2011-08-31 15:23:00 +02:00
parent dd7c629a27
commit 940c5b346b

View File

@@ -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);