Added support for NetWare (libc) built using OpenWatcom.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@377 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -3285,11 +3285,14 @@ RCODE F_TCPStream::socketPeek(
|
||||
#pragma warning( push)
|
||||
#pragma warning( disable : 4127)
|
||||
#endif
|
||||
|
||||
FD_SET( m_iSocket, &GenDescriptors);
|
||||
|
||||
#ifdef FLM_WIN
|
||||
#pragma warning( pop)
|
||||
#endif
|
||||
|
||||
FD_SET( m_iSocket, &GenDescriptors);
|
||||
iMaxDescs = (int)(m_iSocket + 1);
|
||||
DescrRead = bPeekRead ? &GenDescriptors : NULL;
|
||||
DescrWrt = bPeekRead ? NULL : &GenDescriptors;
|
||||
|
||||
Reference in New Issue
Block a user