[Olsr-cvs] olsrd-current/lib/dot_draw/src olsrd_dot_draw.c, 1.18, 1.19
Thomas Lopatic
(spam-protected)
Thu Dec 29 20:48:46 CET 2005
Update of /cvsroot/olsrd/olsrd-current/lib/dot_draw/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16627/lib/dot_draw/src
Modified Files:
olsrd_dot_draw.c
Log Message:
Reanimated OS X port. Any OS X dynamic linking experts? Just tried a
couple of options from the ld man page that seemed plausible. Looks
okay, but should be verified by somebody that knows what he's doing.
Index: olsrd_dot_draw.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/dot_draw/src/olsrd_dot_draw.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** olsrd_dot_draw.c 8 Nov 2005 11:24:04 -0000 1.18
--- olsrd_dot_draw.c 29 Dec 2005 19:48:43 -0000 1.19
***************
*** 206,210 ****
}
! #ifdef __FreeBSD__
if (setsockopt(ipc_socket, SOL_SOCKET, SO_NOSIGPIPE, (char *)&yes, sizeof(yes)) < 0)
{
--- 206,210 ----
}
! #if defined __FreeBSD__
if (setsockopt(ipc_socket, SOL_SOCKET, SO_NOSIGPIPE, (char *)&yes, sizeof(yes)) < 0)
{
***************
*** 450,454 ****
return 0;
! #if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
if (send(ipc_connection, data, size, 0) < 0)
#else
--- 450,454 ----
return 0;
! #if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __MacOSX__
if (send(ipc_connection, data, size, 0) < 0)
#else
More information about the Olsr-cvs
mailing list