Re: [xml] libmxl2 for BeOS

On Mon, Sep 29, 2003 at 12:11:50PM +0200, shard neoni net wrote:

I've compiled and changed a little bit (only networking part) libxml2 
and libxslt for BeOS. I'm sure many compiled it before me but i don't 
know if someone send You patch. It would be great if BeOS could be 
"officially" supported (like CVS version compiling out-of-the-box on 

  This looks fine except the

-       s = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP);
+       s = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);

  Change. Assuming I understand things correctly PF_ values should
be used when using the socket() call and AF_ values should be used
when manipulating the socket structure directly (Protocol Familly
versus Address Familly).
  I'm surprized that PF_INET is not defined on BeOS, can you look this
up, in that case maybe the correct way to address it is to 

#ifdef __BEOS__
#ifndef PF_INET

  Could you check this ?


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]