mirror of https://github.com/mpv-player/mpv
parse_commandline: guard glob() use
Might make porting to batshit environments simpler.
This commit is contained in:
parent
0e4531440d
commit
6063cd569d
|
@ -107,7 +107,7 @@ static bool split_opt(struct parse_state *p)
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#if defined(__MINGW32__) && (HAVE_GLOB || HAVE_GLOB_WIN32_REPLACEMENT)
|
||||
static void process_non_option(struct playlist *files, const char *arg)
|
||||
{
|
||||
glob_t gg;
|
||||
|
|
Loading…
Reference in New Issue