[nanomsg] Re: Problem building on HP-UX

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Mon, 16 Sep 2013 16:29:10 +0200

On 16/09/13 16:13, André Jonsson wrote:

I can see that on my own (linux) machine that iov_base is a void *, how
does that work? I mean, is the code in usock_posix.inc not used then?

It is used. No idea why it compiles.

In any case the line should look something like this:

((uint8_t*) hdr->msg_iov->iov_base) += nbytes;

Does that help?
Martin


Other related posts: