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

pull/2075/head
Nicholas Marriott 2020-01-25 16:41:49 +00:00
parent cdf138372c
commit 74b424075c
1 changed files with 4 additions and 0 deletions

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