Use FNM_IGNORECASE if present, from Eric N Vander Weele in GitHub issue 2067.

This commit is contained in:
Nicholas Marriott 2020-01-25 16:41:49 +00:00
parent cdf138372c
commit 74b424075c

View File

@ -171,8 +171,12 @@ void warnx(const char *, ...);
#endif
#ifndef FNM_CASEFOLD
#ifdef FNM_IGNORECASE
#define FNM_CASEFOLD FNM_IGNORECASE
#else
#define FNM_CASEFOLD 0
#endif
#endif
#ifndef INFTIM
#define INFTIM -1