Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
29ccc641
Commit
29ccc641
authored
Sep 24, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Drop check for sys/mman.h in favor of mmap() check
We already rely on just mmap() in other places.
parent
e7168d4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
configure
configure
+0
-2
utils.c
libswscale/utils.c
+1
-1
No files found.
configure
View file @
29ccc641
...
@@ -1578,7 +1578,6 @@ HEADERS_LIST="
...
@@ -1578,7 +1578,6 @@ HEADERS_LIST="
poll_h
poll_h
soundcard_h
soundcard_h
stdatomic_h
stdatomic_h
sys_mman_h
sys_param_h
sys_param_h
sys_resource_h
sys_resource_h
sys_select_h
sys_select_h
...
@@ -4662,7 +4661,6 @@ check_header io.h
...
@@ -4662,7 +4661,6 @@ check_header io.h
check_header mach/mach_time.h
check_header mach/mach_time.h
check_header malloc.h
check_header malloc.h
check_header poll.h
check_header poll.h
check_header sys/mman.h
check_header sys/param.h
check_header sys/param.h
check_header sys/resource.h
check_header sys/resource.h
check_header sys/select.h
check_header sys/select.h
...
...
libswscale/utils.c
View file @
29ccc641
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include <math.h>
#include <math.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#if HAVE_
SYS_MMAN_H
#if HAVE_
MMAP
#include <sys/mman.h>
#include <sys/mman.h>
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#define MAP_ANONYMOUS MAP_ANON
#define MAP_ANONYMOUS MAP_ANON
...
...
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