X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40e7c0b9133bc1cbcb8fc81854cc11a381a1c066..3717eeaf39f7145ab6d09a326dedb2c09b1219e8:/include/wx/private/fd.h?ds=inline diff --git a/include/wx/private/fd.h b/include/wx/private/fd.h index 462b9bdf3a..a8f6152c27 100644 --- a/include/wx/private/fd.h +++ b/include/wx/private/fd.h @@ -37,11 +37,11 @@ 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__ @@ -51,16 +51,4 @@ #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_