Merge "Only Win32 doesn't have writev."
This commit is contained in:
commit
9c7e5c7c33
1 changed files with 2 additions and 2 deletions
|
|
@ -320,9 +320,9 @@ static const char* getPriorityString(int priority)
|
||||||
return priorityStrings[idx];
|
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.
|
* Make up something to replace it.
|
||||||
*/
|
*/
|
||||||
static ssize_t fake_writev(int fd, const struct iovec *iov, int iovcnt) {
|
static ssize_t fake_writev(int fd, const struct iovec *iov, int iovcnt) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue