diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-01-25 16:41:49 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-01-25 16:41:49 +0000 |
commit | 74b424075c6d0ee668343936624b12cea10f3f19 (patch) | |
tree | 4a6099d03e65209208e7270c154b9ee4290afdda /compat.h | |
parent | cdf138372c4b7a0cc48e15c1ad6412a88db08fb8 (diff) |
Use FNM_IGNORECASE if present, from Eric N Vander Weele in GitHub issue 2067.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |