mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-02-16 10:30:59 +00:00
Don't call sigaction() when building for NaCl
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user