diff options
-rw-r--r-- | options/m_config.c | 1 | ||||
-rw-r--r-- | wscript | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/options/m_config.c b/options/m_config.c index 9733dac3cd..1c5fe01293 100644 --- a/options/m_config.c +++ b/options/m_config.c @@ -29,7 +29,6 @@ #include <stdbool.h> #include <pthread.h> -#define HAVE_FNMATCH HAVE_POSIX #if HAVE_FNMATCH #include <fnmatch.h> #endif @@ -128,6 +128,10 @@ main_dependencies = [ 'func': check_statement(['poll.h', 'unistd.h', 'sys/mman.h'], 'struct pollfd pfd; poll(&pfd, 1, 0); fork(); int f[2]; pipe(f); munmap(f,0)'), }, { + 'name': 'fnmatch', + 'desc': 'fnmatch()', + 'func': check_statement('fnmatch.h', 'fnmatch("", "", 0)') + }, { 'name': 'posix-or-mingw', 'desc': 'development environment', 'deps_any': [ 'posix', 'mingw' ], |