diff options
author | Diogo Franco <[email protected]> | 2013-08-07 08:25:51 -0300 |
---|---|---|
committer | Martin Storsjö <[email protected]> | 2013-08-08 10:59:03 +0300 |
commit | e8edf4e1cf6051802ad717dcf8a454d4661929af (patch) | |
tree | be8dee613bd35d4d4e3424676607fb8e56333e59 /libavcodec/utils.c | |
parent | 51eb213d00154b8e7856c7667ea62db8b0f663d4 (diff) |
cmdutils: Only do the windows-specific commandline parsing on _WIN32
Fixes commandline parsing on Cygwin (on 64 bit, and on very recent
32 bit), where the configure check does find the CommandLineToArgvW
function (since it exists in the link libraries and in the headers),
but whose GetCommandLineW() only returns the application's path.
(This is due to a cygwin internal optimization, see
http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.)
Arguments are only given through main's argc/argv, and they're already
UTF-8.
Signed-off-by: Martin Storsjö <[email protected]>
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions