mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 13:36:54 +02:00
Windows build fix.
This commit is contained in:
parent
f9c92b0351
commit
e3239d23f4
1 changed files with 2 additions and 2 deletions
|
@ -466,9 +466,9 @@ void SocketManager::poll(unsigned long timeout)
|
|||
if (FD_ISSET(_whackReceivePipe,&rfds)) {
|
||||
char tmp[16];
|
||||
#ifdef __WINDOWS__
|
||||
::recv(_whackReceivePipe,&tmp,16,0);
|
||||
::recv(_whackReceivePipe,tmp,16,0);
|
||||
#else
|
||||
::read(_whackReceivePipe,&tmp,16);
|
||||
::read(_whackReceivePipe,tmp,16);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue