From b2be459ff39707b0d0415152d70e65a7e6c5a44c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 15 Feb 2016 12:51:37 -0500 Subject: [PATCH] Don't call sigaction() when building for NaCl --- limelight-common/PlatformSockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limelight-common/PlatformSockets.c b/limelight-common/PlatformSockets.c index 46f3493..e960e5f 100644 --- a/limelight-common/PlatformSockets.c +++ b/limelight-common/PlatformSockets.c @@ -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;