diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-23 02:22:38 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-24 22:20:22 +0000 |
commit | d3b286cb434ed228e7b62cc70cb293e7a5554bfa (patch) | |
tree | 9ab3dd66f9dba2ca861ba8c6e098fb96754aa80b /toxcore/TCP_server.c | |
parent | afc80922e720f5d2a93bdfb3745da058e5ddf81b (diff) |
Fix a bunch of compiler warnings and remove suppressions.
Diffstat (limited to 'toxcore/TCP_server.c')
-rw-r--r-- | toxcore/TCP_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
98 | 98 | ||
99 | /* This is needed to compile on Android below API 21 | 99 | /* This is needed to compile on Android below API 21 |
100 | */ | 100 | */ |
101 | #ifdef TCP_SERVER_USE_EPOLL | ||
101 | #ifndef EPOLLRDHUP | 102 | #ifndef EPOLLRDHUP |
102 | #define EPOLLRDHUP 0x2000 | 103 | #define EPOLLRDHUP 0x2000 |
103 | #endif | 104 | #endif |
105 | #endif | ||
104 | 106 | ||
105 | /* Set the size of the connection list to numfriends. | 107 | /* Set the size of the connection list to numfriends. |
106 | * | 108 | * |