[zeromq-dev] zeromq-2.0.8 fixes for HP-UX and AIX

Bernd Melchers melchers at ZEDAT.FU-Berlin.DE
Mon Aug 30 15:58:26 CEST 2010

see http://github.com/zeromq/zeromq2/issues#issue/52

at least to make it possible to compile zeromq-2.0.8 for HP-UX
and AIX, one has to add a missing { and to fix two other
items in the file src/signaler.cpp:

< bool zmq::signaler_t::recv (command_t *cmd_, bool block_)
> bool zmq::signaler_t::recv (command_t &cmd_, bool block_)
<         nbytes = ::recv (r, (char*)cmd_, sizeof (command_t), 0);
>         nbytes = ::recv (r, buffer, sizeof (command_t), 0);
<    if (block_) {
>    if (block_)

Mit freundlichen Grüßen
Bernd Melchers

More information about the zeromq-dev mailing list