Ronald S. Bultje
663c21d4ac
compat/vsnprintf: return number of bytes required on truncation.
This conforms to C99, but requires Windows >= XP.
13 years ago
Derek Buitenhuis
e1b4496040
msvc: Add a va_copy compatability macro for msvc
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Ronald S. Bultje
c1c8fdab46
compat/vsnprintf: return number of bytes required on truncation.
This conforms to C99, but requires Windows >= XP.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Michael Niedermayer
2bb62455c8
Revert "lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime."
This reverts commit ba53720280 .
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>
13 years ago
Ronald S. Bultje
4fa661a857
lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
ba53720280
lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
962e912a49
getopt: Remove an unnecessary define
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
da8201cc82
getopt: Add missing includes
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
667fb97a65
dct/fft-test: use a replacement getopt() if the system has none present.
This allows compiling and running these tests on systems lacking a built-
in version of getopt(), such as MSVC.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago