Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
ffmpeg
Commits
19c20a0a
Commit
19c20a0a
authored
Dec 02, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Move adding of compat objects out of libc detection
parent
4958f35a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
configure
configure
+12
-5
No files found.
configure
View file @
19c20a0a
...
...
@@ -3398,10 +3398,6 @@ elif check_cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
add_cppflags
-U__STRICT_ANSI__
elif
check_cpp_condition crtversion.h
"defined _VC_CRT_MAJOR_VERSION"
;
then
libc_type
=
msvcrt
add_compat strtod.o
strtod
=
avpriv_strtod
add_compat msvcrt/snprintf.o
snprintf
=
avpriv_snprintf
\
_snprintf
=
avpriv_snprintf
\
vsnprintf
=
avpriv_vsnprintf
# The MSVC 2010 headers (Win 7.0 SDK) set _WIN32_WINNT to
# 0x601 by default unless something else is set by the user.
# This can easily lead to us detecting functions only present
...
...
@@ -3413,11 +3409,22 @@ elif check_cpp_condition stddef.h "defined __KLIBC__"; then
libc_type
=
klibc
elif
check_cpp_condition sys/cdefs.h
"defined __BIONIC__"
;
then
libc_type
=
bionic
add_compat strtod.o
strtod
=
avpriv_strtod
fi
test
-n
"
$libc_type
"
&&
enable
$libc_type
case
$libc_type
in
bionic
)
add_compat strtod.o
strtod
=
avpriv_strtod
;;
msvcrt
)
add_compat strtod.o
strtod
=
avpriv_strtod
add_compat msvcrt/snprintf.o
snprintf
=
avpriv_snprintf
\
_snprintf
=
avpriv_snprintf
\
vsnprintf
=
avpriv_vsnprintf
;;
esac
# hacks for compiler/libc/os combinations
if
enabled_all tms470 glibc
;
then
...
...
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