mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
do not undefine socket() and accept() from qnet_unix_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
93f72d029a
commit
575a40813f
1 changed files with 0 additions and 8 deletions
|
@ -79,14 +79,6 @@ static inline int qt_safe_connect(int sockfd, const struct sockaddr *addr, QT_SO
|
|||
return ret;
|
||||
}
|
||||
|
||||
#if defined(socket)
|
||||
# undef socket
|
||||
#endif
|
||||
#if defined(accept)
|
||||
# undef accept
|
||||
#endif
|
||||
|
||||
// VxWorks' headers do not specify any const modifiers
|
||||
static inline int qt_safe_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *to, QT_SOCKLEN_T tolen)
|
||||
{
|
||||
#ifdef MSG_NOSIGNAL
|
||||
|
|
Loading…
Add table
Reference in a new issue