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
120797e2
Commit
120797e2
authored
Dec 02, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Separate MinGW32 and MinGW64 libc handling
parent
9aa053ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
configure
configure
+9
-6
No files found.
configure
View file @
120797e2
...
...
@@ -3386,12 +3386,15 @@ elif check_cpp_condition features.h "defined __GLIBC__"; then
elif
check_cpp_condition newlib.h
"defined _NEWLIB_VERSION"
;
then
libc_type
=
newlib
add_cppflags
-U__STRICT_ANSI__
elif
check_header _mingw.h
;
then
libc_type
=
mingw
check_cpp_condition _mingw.h
\
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) ||
\
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)"
||
die
"ERROR: MinGW runtime version must be >= 3.15."
# MinGW64 is backwards compatible with MinGW32, so check for it first.
elif
check_cpp_condition _mingw.h
"defined __MINGW64_VERSION_MAJOR"
;
then
libc_type
=
mingw64
add_cppflags
-U__STRICT_ANSI__
elif
check_cpp_condition _mingw.h
"defined __MINGW32_VERSION"
;
then
libc_type
=
mingw32
check_cpp_condition _mingw.h
"__MINGW32_MAJOR_VERSION > 3 ||
\
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)"
||
die
"ERROR: MinGW32 runtime version must be >= 3.15."
add_cppflags
-U__STRICT_ANSI__
elif
check_cpp_condition crtversion.h
"defined _VC_CRT_MAJOR_VERSION"
;
then
libc_type
=
msvcrt
...
...
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