mingw port.

relabel replaced functions to avoid conflicts with library.

git-svn-id: file:///svn/unbound/trunk@1093 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2008-05-22 13:30:22 +00:00
parent 5990dde29b
commit fa07056f79
7 changed files with 5029 additions and 6173 deletions
+1 -1
View File
@@ -960,7 +960,7 @@ service(char* bind_str, int bindport, char* serv_str, size_t memsize,
#ifdef SO_REUSEADDR
if(1) {
int on = 1;
if(setsockopt(listen_s, SOL_SOCKET, SO_REUSEADDR, &on,
if(setsockopt(listen_s, SOL_SOCKET, SO_REUSEADDR, (void*)&on,
(socklen_t)sizeof(on)) < 0)
fatal_exit("setsockopt(.. SO_REUSEADDR ..) failed: %s",
strerror(errno));