Only Win32 doesn't have writev.
Change-Id: I9b5328cea3c88a75135dcb0711cbb5471e8fa388
This commit is contained in:
parent
077ff30954
commit
2a5fecb3cd
|
@ -320,9 +320,9 @@ static const char* getPriorityString(int priority)
|
|||
return priorityStrings[idx];
|
||||
}
|
||||
|
||||
#ifndef HAVE_WRITEV
|
||||
#if defined(_WIN32)
|
||||
/*
|
||||
* Some platforms like WIN32 do not have writev().
|
||||
* WIN32 does not have writev().
|
||||
* Make up something to replace it.
|
||||
*/
|
||||
static ssize_t fake_writev(int fd, const struct iovec *iov, int iovcnt) {
|
||||
|
|
Loading…
Reference in New Issue