diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-06 16:14:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-06 16:14:34 +0200 |
commit | 2bb62455c899cdccbdc2a6ad33f9582008ed9f05 (patch) | |
tree | be695858ce63db54ec4aedab5596bf2ba072f65f /configure | |
parent | 376b16d7cc8a0953bc2054a6ccc778d75b7b1c5b (diff) | |
download | ffmpeg-2bb62455c899cdccbdc2a6ad33f9582008ed9f05.tar.gz |
Revert "lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime."
This reverts commit ba537202801d71711f1ef9306a6248dd2d426fa0.
A better implementation has been commited by the same author to qatar
Conflicts:
configure
Found-by: jamal <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -1054,11 +1054,6 @@ cp_if_changed(){ cp -f "$1" "$2" } -force_include(){ - flag=$(eval printf '%s%s\\n' '$FORCE_INC' $1) - append CFLAGS "$flag" -} - # CONFIG_LIST contains configurable options, while HAVE_LIST is for # system-dependent things. @@ -1268,7 +1263,6 @@ HAVE_LIST=" asm_types_h attribute_may_alias attribute_packed - broken_strtod cbrtf clock_gettime closesocket @@ -1355,7 +1349,6 @@ HAVE_LIST=" setrlimit Sleep sndio_h - snprintf socklen_t soundcard_h strerror_r @@ -2089,7 +2082,6 @@ CC_O='-o $@' CXX_C='-c' CXX_O='-o $@' LD_O='-o $@' -FORCE_INC="-include" LD_LIB='-l%' LD_PATH='-L' HOSTCC_C='-c' @@ -3438,7 +3430,6 @@ check_func mmap check_func ${malloc_prefix}posix_memalign && enable posix_memalign check_func_headers malloc.h _aligned_malloc && enable aligned_malloc check_func setrlimit -check_func snprintf check_func strerror_r check_func sched_getaffinity check_func sysconf @@ -3458,15 +3449,6 @@ check_func_headers windows.h Sleep check_func_headers windows.h VirtualAlloc check_func_headers glob.h glob -# Check for MSVCRT; it has a broken strtod() that can't parse some input. -# Use old dos symbol to detect it. If we are on mingw, it already provides -# its own replacement and we don't need to redo that. -if check_func _get_doserrno; then - if test $target_os != mingw32; then - enable broken_strtod - fi -fi - check_header dlfcn.h check_header dxva.h check_header dxva2api.h -D_WIN32_WINNT=0x0600 @@ -3838,14 +3820,6 @@ elif enabled pathscale; then add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF fi -# If a missing snprintf/broken strtod is detected, force-include headers -# that override prototypes and define it to a prefixed one implemented in -# libavutil. We do this at the end since -I flags aren't set in configure, -# and any additional check_cflags() beyond here will thus fail (because -# it can't find these files, because the -I$(srcdir) wasn't set). -enabled snprintf || force_include compat/snprintf.h -enabled broken_strtod && force_include compat/strtod.h - enabled_any $THREADS_LIST && enable threads enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; } |