On 9/21/05, D.J. Heap <[EMAIL PROTECTED]> wrote:
> I've been trying to build neon 0.25.3 and had to make a few tweaks.
> I'm not sure if these are known issues or I'm doing something wrong,
> though...
>
> I had to #define USE_GETADDRINFO in config.h (probably needs to go in
> config.hw or config.hw.in?) or I got failures in ne_socket.c (line
> 809) looking for in_addr_t.
>
> I also had to tweak the ne_xml.c file where it is testing for the
> XML_MAJOR_VERSION.  The MS compiler doesn't seem to like the #if
> !defined combined with a || operator on comparision directives.  This
> construct seemed to work for me (but I'm not sure if it's optimal):
>
> #if !defined(XML_MAJOR_VERSION)
> #define NEED_BOM_HANDLING
> #elif (XML_MAJOR_VERSION < 2 \
>          && XML_MINOR_VERSION == 95 \
>          && XML_MICRO_VERSION < 2)
> #define NEED_BOM_HANDLING
> #endif
>

Er, that should be #elseif not #elif...

DJ

_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to