From d3b286cb434ed228e7b62cc70cb293e7a5554bfa Mon Sep 17 00:00:00 2001 From: iphydf Date: Fri, 23 Feb 2018 02:22:38 +0000 Subject: Fix a bunch of compiler warnings and remove suppressions. --- toxcore/TCP_server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toxcore/TCP_server.c') diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c index ae73b804..4541fce0 100644 --- a/toxcore/TCP_server.c +++ b/toxcore/TCP_server.c @@ -98,9 +98,11 @@ size_t tcp_server_listen_count(const TCP_Server *tcp_server) /* This is needed to compile on Android below API 21 */ +#ifdef TCP_SERVER_USE_EPOLL #ifndef EPOLLRDHUP #define EPOLLRDHUP 0x2000 #endif +#endif /* Set the size of the connection list to numfriends. * -- cgit v1.2.3