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
1 changed files with 1 additions and 1 deletions

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;