} else { #endif  #ifdef HAVE_SOCKET_REUSEADDR if ( setsockopt (fd->secret->md.osfd, (int)SOL_SOCKET, SO_REUSEADDR, #ifdef XP_OS2_VACPP (char *)&one, sizeof(one) ) < 0) { #else (const void *)&one, sizeof(one) ) < 0) { #endif return PR_FAILURE;
static PRStatus PR_CALLBACK SocketBind(PRFileDesc *fd, const PRNetAddr *addr){	PRInt32 result;	int one = 1;	PR_ASSERT(IsValidNetAddr(addr) == PR_TRUE);#ifdef XP_UNIX	if (addr->raw.family == AF_UNIX) {		/* Disallow relative pathnames */		if (addr->local.path[0] != '/') {			PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);			return PR_FAILURE;		}	} else {#endif#ifdef HAVE_SOCKET_REUSEADDR	if ( setsockopt (fd->secret->md.osfd, (int)SOL_SOCKET, SO_REUSEADDR, #ifdef XP_OS2_VACPP	    (char *)&one, sizeof(one) ) < 0) {#else	    (const void *)&one, sizeof(one) ) < 0) {#endif		return PR_FAILURE;	}#endif#ifdef XP_UNIX	}#endif	result = _PR_MD_BIND(fd, addr, PR_NETADDR_SIZE(addr));	if (result < 0) {		return PR_FAILURE;	}	return PR_SUCCESS;}