From: Vadim Zeitlin Date: Sun, 6 Dec 2009 02:29:42 +0000 (+0000) Subject: Fix wxFD_CLR() definition for Intel compiler under Linux. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8b190e3310f4771f8d48ea8d4a1585caa062433f Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/private/fd.h b/include/wx/private/fd.h index 38c286e445..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__