mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-29 21:44:23 +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)) {
|
if (FD_ISSET(_whackReceivePipe,&rfds)) {
|
||||||
char tmp[16];
|
char tmp[16];
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
::recv(_whackReceivePipe,&tmp,16,0);
|
::recv(_whackReceivePipe,tmp,16,0);
|
||||||
#else
|
#else
|
||||||
::read(_whackReceivePipe,&tmp,16);
|
::read(_whackReceivePipe,tmp,16);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user