mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Issue #1751 -- Remove XP_DARWIN
This commit is contained in:
parent
a9c8f3a84a
commit
2f27335cc4
36 changed files with 30 additions and 1254 deletions
|
|
@ -3051,17 +3051,6 @@ nsSocketTransport::PRFileDescAutoLock::SetKeepaliveVals(bool aEnabled,
|
|||
}
|
||||
return NS_OK;
|
||||
|
||||
#elif defined(XP_DARWIN)
|
||||
// Darwin uses sec; only supports idle time being set.
|
||||
int err = setsockopt(sock, IPPROTO_TCP, TCP_KEEPALIVE,
|
||||
&aIdleTime, sizeof(aIdleTime));
|
||||
if (NS_WARN_IF(err)) {
|
||||
LogOSError("nsSocketTransport Failed setting TCP_KEEPALIVE",
|
||||
mSocketTransport);
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
#elif defined(XP_UNIX)
|
||||
// Not all *nix OSes support the following setsockopt() options
|
||||
// build errors will tell us if they are not.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue