mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-26 07:55:44 -04:00
fixed compilation on windows
This commit is contained in:
parent
9684b2ed94
commit
5fe39248f8
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ void RsFdBinInterface::setSocket(int s)
|
||||||
#else
|
#else
|
||||||
// On windows, there is no way to determine whether a socket is blobking or not, so we set it to non blocking whatsoever.
|
// On windows, there is no way to determine whether a socket is blobking or not, so we set it to non blocking whatsoever.
|
||||||
unsigned long int on = 1;
|
unsigned long int on = 1;
|
||||||
ret = ioctlsocket(fd[STDOUT_FILENO], FIONBIO, &on);
|
ioctlsocket(s, FIONBIO, &on);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mCLintConnt = s;
|
mCLintConnt = s;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue