mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
Ignore SIGPIPE on POSIX platforms to fix the crash on connection closure in Limelight-iOS
This commit is contained in:
@@ -18,6 +18,8 @@ typedef int SOCK_RET;
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#define LastSocketError() errno
|
||||
#define SetLastSocketError(x) errno = x
|
||||
#define INVALID_SOCKET -1
|
||||
|
||||
Reference in New Issue
Block a user