Ignore SIGPIPE on POSIX platforms to fix the crash on connection closure in Limelight-iOS

This commit is contained in:
Cameron Gutman
2014-10-20 23:27:41 -04:00
parent df9ba620e8
commit 25faaa9e6b
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -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