Only Win32 doesn't have writev.

Change-Id: I9b5328cea3c88a75135dcb0711cbb5471e8fa388
This commit is contained in:
Elliott Hughes 2014-11-25 10:25:42 -08:00
parent 077ff30954
commit 2a5fecb3cd
1 changed files with 2 additions and 2 deletions

View File

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