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
This commit is contained in:
@@ -37,11 +37,11 @@
|
|||||||
return FD_ISSET(fd, fds);
|
return FD_ISSET(fd, fds);
|
||||||
#pragma warning(pop)
|
#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(push, 1)
|
||||||
#pragma warning(disable:1469)
|
#pragma warning(disable:1469)
|
||||||
return FD_CLR(fd, fds);
|
FD_CLR(fd, fds);
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
}
|
}
|
||||||
#else // !__INTELC__
|
#else // !__INTELC__
|
||||||
|
Reference in New Issue
Block a user