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>
12 years ago
Ronald S. Bultje
4fa661a857
lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
962e912a49
getopt: Remove an unnecessary define
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
da8201cc82
getopt: Add missing includes
Signed-off-by: Martin Storsjö <martin@martin.st>
12 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