Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
0067a542
Unverified
Commit
0067a542
authored
Apr 18, 2019
by
Kenton Varda
Committed by
GitHub
Apr 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #819 from 9468305/master
Fix #800 : pwritev() missing before Android API Level 24.
parents
7240ae3b
8e326341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
filesystem-disk-unix.c++
c++/src/kj/filesystem-disk-unix.c++
+2
-2
No files found.
c++/src/kj/filesystem-disk-unix.c++
View file @
0067a542
...
...
@@ -396,8 +396,8 @@ public:
static
const
byte
ZEROS
[
4096
]
=
{
0
};
#if __APPLE__ || __CYGWIN__
// Mac & Cygwin doesn't have pwritev().
#if __APPLE__ || __CYGWIN__
|| (defined(__ANDROID__) && __ANDROID_API__ < 24)
// Mac & Cygwin
& Android API levels 23 and lower
doesn't have pwritev().
while
(
size
>
sizeof
(
ZEROS
))
{
write
(
offset
,
ZEROS
);
size
-=
sizeof
(
ZEROS
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment