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. --- demux/demux_mf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'demux/demux_mf.c') diff --git a/demux/demux_mf.c b/demux/demux_mf.c index 02b95e1c15..012854a32f 100644 --- a/demux/demux_mf.c +++ b/demux/demux_mf.c @@ -115,7 +115,6 @@ static mf_t *open_mf_pattern(void *talloc_ctx, struct mp_log *log, char *filenam char *fname = talloc_size(mf, strlen(filename) + 32); -#if HAVE_GLOB || HAVE_GLOB_WIN32_REPLACEMENT if (!strchr(filename, '%')) { strcpy(fname, filename); if (!strchr(filename, '*')) @@ -138,7 +137,6 @@ static mf_t *open_mf_pattern(void *talloc_ctx, struct mp_log *log, char *filenam globfree(&gg); goto exit_mf; } -#endif mp_info(log, "search expr: %s\n", filename); -- cgit v1.2.3