Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: net/base/iovec.h

Issue 188873004: Compile src/net for PNaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_BASE_IOVEC_H_ 5 #ifndef NET_BASE_IOVEC_H_
6 #define NET_BASE_IOVEC_H_ 6 #define NET_BASE_IOVEC_H_
7 7
8 #if defined(OS_POSIX) 8 #if defined(OS_POSIX) && !defined(OS_NACL)
9 #include <sys/uio.h> 9 #include <sys/uio.h>
10 #else 10 #else
11 /* Structure for scatter/gather I/O. */ 11 /* Structure for scatter/gather I/O. */
12 struct iovec { 12 struct iovec {
13 void* iov_base; /* Pointer to data. */ 13 void* iov_base; /* Pointer to data. */
14 size_t iov_len; /* Length of data. */ 14 size_t iov_len; /* Length of data. */
15 }; 15 };
16 #endif // defined(OS_LINUX) 16 #endif // defined(OS_LINUX)
17 17
18 #endif // NET_BASE_IOVEC_H_ 18 #endif // NET_BASE_IOVEC_H_
OLDNEW
« no previous file with comments | « net/base/dns_reloader.cc ('k') | net/base/net_util.cc » ('j') | net/base/net_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698