wxFD_SETSIZE --> FD_SETSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -281,7 +281,7 @@ int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout)
|
|||||||
unsigned int i;
|
unsigned int i;
|
||||||
for ( i = 0; i < nfds; i++ )
|
for ( i = 0; i < nfds; i++ )
|
||||||
{
|
{
|
||||||
wxASSERT_MSG( ufds[i].fd < wxFD_SETSIZE, _T("fd out of range") );
|
wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") );
|
||||||
|
|
||||||
if ( ufds[i].events & G_IO_IN )
|
if ( ufds[i].events & G_IO_IN )
|
||||||
wxFD_SET(ufds[i].fd, &readfds);
|
wxFD_SET(ufds[i].fd, &readfds);
|
||||||
|
@@ -313,7 +313,7 @@ int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout)
|
|||||||
unsigned int i;
|
unsigned int i;
|
||||||
for ( i = 0; i < nfds; i++ )
|
for ( i = 0; i < nfds; i++ )
|
||||||
{
|
{
|
||||||
wxASSERT_MSG( ufds[i].fd < wxFD_SETSIZE, _T("fd out of range") );
|
wxASSERT_MSG( ufds[i].fd < FD_SETSIZE, _T("fd out of range") );
|
||||||
|
|
||||||
if ( ufds[i].events & G_IO_IN )
|
if ( ufds[i].events & G_IO_IN )
|
||||||
wxFD_SET(ufds[i].fd, &readfds);
|
wxFD_SET(ufds[i].fd, &readfds);
|
||||||
|
Reference in New Issue
Block a user