bsd and macosx compatibility

This commit is contained in:
leitner
2001-10-15 14:34:02 +00:00
parent 3683655654
commit 8ecb47a608
21 changed files with 32 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ int socket_bind6(int s,const char ip[16],uint16 port,uint32 scope_id)
return bind(s,(struct sockaddr *) &sa,sizeof sa);
#else
errno=EPROTO;
errno=EPROTONOSUPPORT;
return -1;
#endif
}