Martin,
On Mon, Apr 11, 2011 at 6:41 AM, Martin Sustrik <[email protected]> wrote:

>
> One additional comment is that in POSIX the return type from these
> functions is ssize_t. The reason I've used int at the moment is that
> return value on Windows is int and ssize_t is not even defined :|
>
> The alternative would be to do something like:
>
> #if defined ZMQ_HAVE_WINDOWS
> #define ssize_t int
> #else
> #include <sys/types.h>
> #endif
>
> Thoughts anyone?
>
>
The MSVC equivalent is SSIZE_T, from BaseTsd.h.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to