summaryrefslogtreecommitdiffstats
path: root/options/parse_commandline.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-27 12:37:47 +0200
committerwm4 <wm4@nowhere>2017-06-29 10:30:13 +0200
commit70a70b9da347d7ef25a9862af83731b9b0a0d3f1 (patch)
tree541ad35c45560d81498fe246de1a6f70f5a8265f /options/parse_commandline.c
parent0b77f6fd229f537a309f1d5b37469392e65d279e (diff)
downloadmpv-70a70b9da347d7ef25a9862af83731b9b0a0d3f1.tar.bz2
mpv-70a70b9da347d7ef25a9862af83731b9b0a0d3f1.tar.xz
build: replace glob() check and assume it's always in POSIX
POSIX requires glob(), so no need to check for it. Together with the fact that we can emulate glob() on Windows, glob() is always available.
Diffstat (limited to 'options/parse_commandline.c')
-rw-r--r--options/parse_commandline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/parse_commandline.c b/options/parse_commandline.c
index 4b2f4f880e..2eb65e5c8e 100644
--- a/options/parse_commandline.c
+++ b/options/parse_commandline.c
@@ -103,7 +103,7 @@ static bool split_opt(struct parse_state *p)
return false;
}
-#if defined(__MINGW32__) && (HAVE_GLOB || HAVE_GLOB_WIN32_REPLACEMENT)
+#ifdef __MINGW32__
static void process_non_option(struct playlist *files, const char *arg)
{
glob_t gg;