1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

parse_commandline: guard glob() use

Might make porting to batshit environments simpler.
This commit is contained in:
wm4 2017-04-04 10:47:57 +02:00
parent 0e4531440d
commit 6063cd569d

View File

@ -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;