Skip to content

Commit

Permalink
Enable compilation of QUIC for (P)NaCl.
Browse files Browse the repository at this point in the history
1. Moved QUIC source files to the list of files that are compiled in
net_nacl target.
2. Fixed 2 minor issues in the code related to compatibility with NaCl.

BUG=448838

Review URL: https://codereview.chromium.org/1265283003

Cr-Commit-Position: refs/heads/master@{#341840}
  • Loading branch information
SergeyUlanov authored and Commit bot committed Aug 5, 2015
1 parent a2b58d7 commit 721e3c0
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 198 deletions.
4 changes: 2 additions & 2 deletions net/base/iovec.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
#ifndef NET_BASE_IOVEC_H_
#define NET_BASE_IOVEC_H_

#if defined(OS_POSIX)
#if defined(OS_POSIX) && !defined(OS_NACL)
#include <sys/uio.h>
#else
/* Structure for scatter/gather I/O. */
struct iovec {
void* iov_base; /* Pointer to data. */
size_t iov_len; /* Length of data. */
};
#endif // defined(OS_LINUX)
#endif // defined(OS_POSIX) && !defined(OS_NACL)

#endif // NET_BASE_IOVEC_H_
Loading

0 comments on commit 721e3c0

Please sign in to comment.