commit | 9c7e5c7c33607fce4c91e22dcf38237256450b9a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 25 18:34:35 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 25 18:34:36 2014 +0000 |
tree | bbedf8f5ae4de25c967aeabd24fe1dc2ddd3e70b | |
parent | 0b7e651615b9b01b9f3f94b6fb1dcfbbbd02c72b [diff] | |
parent | 2a5fecb3cd0b44432836619d77837b1aca299e89 [diff] |
Merge "Only Win32 doesn't have writev."
diff --git a/liblog/fake_log_device.c b/liblog/fake_log_device.c index b8d87bb..117e154 100644 --- a/liblog/fake_log_device.c +++ b/liblog/fake_log_device.c
@@ -320,9 +320,9 @@ 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) {