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:
ahodgkinson
2006-05-08 21:17:55 +00:00
parent 341bbbf16f
commit 4875673228
17 changed files with 168 additions and 643 deletions

View File

@@ -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;