From f895426c1885729f4a4a20b1eb543a92915aed85 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 7 Sep 2009 15:41:43 +0200 Subject: initial changes for win port --- include/zmq.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/zmq.h') diff --git a/include/zmq.h b/include/zmq.h index f321fa9..a8394ed 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -25,7 +25,6 @@ extern "C" { #endif #include -#include #if defined MSC_VER && defined ZMQ_BUILDING_LIBZMQ #define ZMQ_EXPORT __declspec(dllexport) @@ -35,6 +34,8 @@ extern "C" { // Maximal size of "Very Small Message". VSMs are passed by value // to avoid excessive memory allocation/deallocation. +// If VMSs larger than 255 bytes are required, type of 'vsm_size' +// field in zmq_msg_t structure should be modified accordingly. #define ZMQ_MAX_VSM_SIZE 30 // Message & notification types. @@ -98,7 +99,7 @@ struct zmq_msg_t { void *content; unsigned char shared; - uint16_t vsm_size; + unsigned char vsm_size; unsigned char vsm_data [ZMQ_MAX_VSM_SIZE]; }; -- cgit v1.2.3