Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
eeaa3b9e
Commit
eeaa3b9e
authored
Sep 11, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unprotected ARM-specific syscall
parent
a597327a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
src/posix/filesystem.c
src/posix/filesystem.c
+0
-14
No files found.
src/posix/filesystem.c
View file @
eeaa3b9e
...
...
@@ -279,20 +279,6 @@ int vlc_dup (int oldfd)
return
newfd
;
}
#ifdef __ANDROID__
/* && we support android < 2.3 */
/* pipe2() is declared and available since android-9 NDK,
* although it is available in libc.a since android-3
* We redefine the function here in order to be able to run
* on versions of Android older than 2.3
*/
#include <sys/syscall.h>
//#include <sys/linux-syscalls.h> // fucking brokeness
int
pipe2
(
int
fds
[
2
],
int
flags
)
{
return
syscall
(
/*__NR_pipe2 */
359
,
fds
,
flags
);
}
#endif
/* __ANDROID__ */
/**
* Creates a pipe (see "man pipe" for further reference).
*/
...
...
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