search for: safewinsock2

Displaying 2 results from an estimated 2 matches for "safewinsock2".

2015 Sep 14
1
xapian-core-1.2.21 ported to Interix / 'gmake check' compile error
...was modified as adding #include <arpa/inet.h> #include <cmath> #include <cstring> #ifndef __WIN32__ # include "safenetdb.h" # include <netinet/in.h> # include <netinet/tcp.h> # include <arpa/inet.h> # include <sys/socket.h> #else # include "safewinsock2.h" #endif perhaps there is a better location to add '#include <arpa/inet.h>' as in an #ifdef __INTERIX located in tcpclient.h or in safenetdb.h #ifdef __INTERIX #include <arpa/inet.h> #endif note safenetdb.h is found in both /net/tcpclient.cc and /net/tcpserver.cc curio...
2015 Oct 07
0
brass and chert compiled / xapian port to Interix
...9880 /xapian-core-1.2.21/net/tcpclient.cc #include <cmath> #include <cstring> #ifndef __WIN32__ # include "safenetdb.h" # include <netinet/in.h> # include <netinet/tcp.h> +# include <arpa/inet.h> # include <sys/socket.h> #else # include "safewinsock2.h" #endif cf: http://permalink.gmane.org/gmane.comp.search.xapian.general/9862 dependencies libuuid (patched) and zlib --static current compile script #!/bin/ksh CC=/opt/gcc.3.3/bin/gcc CXX=/opt/gcc.3.3/bin/g++ PKGNAM=xapian-core VERSION=${VERSION:-1.2.21} cd tmp/xapian-core-1.2.21/BUILD e...