mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-17 03:03:25 +02:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user