mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-21 02:01:22 +00:00
Windows build fix.
This commit is contained in:
parent
f9c92b0351
commit
e3239d23f4
@ -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…
x
Reference in New Issue
Block a user