From 70a70b9da347d7ef25a9862af83731b9b0a0d3f1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 27 Jun 2017 12:37:47 +0200 Subject: 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. --- options/parse_commandline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') 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; -- cgit v1.2.3