try fix for freebsd

This commit is contained in:
Jeff Becker 2018-12-14 08:51:00 -05:00
parent 2a678f47c4
commit 42e4b8661c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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()