forked from enlightenment/efl
Evas: Support of fnmatch flag FNM_IGNORECASE
Some systems (solaris in that case) define FNM_IGNORECASE instead of FNM_CASEFOLD. Add this case in evas_path.c
This commit is contained in:
parent
8cccde76fe
commit
2e052d5694
|
@ -104,6 +104,9 @@ evas_file_path_list(char *path, const char *match, int match_case)
|
|||
#ifdef FNM_CASEFOLD
|
||||
if (!match_case)
|
||||
flags |= FNM_CASEFOLD;
|
||||
#elif defined FNM_IGNORECASE
|
||||
if (!match_case)
|
||||
flags |= FNM_IGNORECASE;
|
||||
#else
|
||||
/*#warning "Your libc does not provide case-insensitive matching!"*/
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue