Don't call sigaction() when building for NaCl
This commit is contained in:
parent
cbbe251f50
commit
b2be459ff3
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ int initializePlatformSockets(void) {
|
|||
#if defined(LC_WINDOWS)
|
||||
WSADATA data;
|
||||
return WSAStartup(MAKEWORD(2, 0), &data);
|
||||
#elif defined(LC_POSIX)
|
||||
#elif defined(LC_POSIX) && !defined(LC_CHROME)
|
||||
// Disable SIGPIPE signals to avoid us getting
|
||||
// killed when a socket gets an EPIPE error
|
||||
struct sigaction sa;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue