mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
try fix for freebsd
This commit is contained in:
parent
2a678f47c4
commit
42e4b8661c
@ -228,7 +228,6 @@ namespace llarp
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
virtual ssize_t
|
virtual ssize_t
|
||||||
do_write(void* buf, size_t sz)
|
do_write(void* buf, size_t sz)
|
||||||
{
|
{
|
||||||
@ -241,7 +240,6 @@ namespace llarp
|
|||||||
vecs[1].iov_len = sz;
|
vecs[1].iov_len = sz;
|
||||||
return writev(fd, vecs, 2);
|
return writev(fd, vecs, 2);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
flush_write()
|
flush_write()
|
||||||
|
Loading…
Reference in New Issue
Block a user