[zeromq-dev] inet_ntop is not available in Windows XP

Dimiter 'malkia' Stanev malkia at gmail.com
Thu Feb 16 23:31:41 CET 2012

Synced to latest, but ssize_t is not declared for Windows WDK 7.1, and 
one of the zmq.h functions uses it.

There is an easy workaround -Dssize_t=ptrdiff_t for my compilation 
process (I compile the library using my own batch file). There is also 
intptr_t, but I chose ptrdiff_t for the workaround, as it's declared in 
more header files in the WDK :)

I think VS2010 supports ssize_t, but VS2008 probably not, and WDK 7.1 is 
closer to VS2008 than VS2010.

On 2/16/2012 2:12 PM, Pieter Hintjens wrote:
> On Thu, Feb 16, 2012 at 4:10 PM, Dimiter 'malkia' Stanev
> <malkia at gmail.com>  wrote:
>> Thanks guys! Awesome community!
> Ian's patch is now merged into libzmq/master.
> -Pieter

More information about the zeromq-dev mailing list