Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a5fecb3 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Only Win32 doesn't have writev.

Change-Id: I9b5328cea3c88a75135dcb0711cbb5471e8fa388
parent 077ff309
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {