return FD_ISSET(fd, fds);
#pragma warning(pop)
}
- inline bool wxFD_CLR(int fd, fd_set *fds)
+ inline void wxFD_CLR(int fd, fd_set *fds)
{
#pragma warning(push, 1)
#pragma warning(disable:1469)
- return FD_CLR(fd, fds);
+ FD_CLR(fd, fds);
#pragma warning(pop)
}
#else // !__INTELC__
#define wxFD_CLR(fd, fds) FD_CLR(fd, fds)
#endif // __INTELC__/!__INTELC__
-// this is for Windows where configure doesn't define this
-#ifndef SOCKOPTLEN_T
- #define SOCKOPTLEN_T int
-#endif
-
-/*
- * MSW defines this, Unices don't.
- */
-#ifndef INVALID_SOCKET
- #define INVALID_SOCKET (-1)
-#endif
-
#endif // _WX_PRIVATE_FD_H_