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:
Robin Dunn 2006-11-11 20:38:46 +00:00
parent 92568b11d8
commit 7f5ff1b2a9
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout)
unsigned int 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 )
wxFD_SET(ufds[i].fd, &readfds);

View File

@ -313,7 +313,7 @@ int wxPoll(wxPollFd *ufds, unsigned int nfds, int timeout)
unsigned int 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 )
wxFD_SET(ufds[i].fd, &readfds);