Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
387B

  1. diff --git a/lv2lint.c b/lv2lint.c
  2. index e18a574..29fcac1 100644
  3. --- a/lv2lint.c
  4. +++ b/lv2lint.c
  5. @@ -668,6 +668,9 @@ _pattern_match(const char *pattern, const char *str)
  6. }
  7. #if defined(HAS_FNMATCH)
  8. +# ifndef FNM_EXTMATCH /* glibc extension */
  9. +# define FNM_EXTMATCH 0
  10. +# endif
  11. if(fnmatch(pattern, str, FNM_CASEFOLD | FNM_EXTMATCH) == 0)
  12. #else
  13. if(strcasecmp(pattern, str) == 0)