X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffnmatch.c;h=011a145038f8141daa48a63aee9cb498fe56c76e;hb=4f5d6947d90a65c2b577ef2ca7adf4e413cfe6b6;hp=32468964d8bac619c4c82e549d6166d3b6091583;hpb=a62be9f4039b4499cfbb76e394cad2259d03fa84;p=gnulib.git diff --git a/lib/fnmatch.c b/lib/fnmatch.c index 32468964d..011a14503 100644 --- a/lib/fnmatch.c +++ b/lib/fnmatch.c @@ -39,7 +39,9 @@ #include #include -#define WIDE_CHAR_SUPPORT (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC) +#define WIDE_CHAR_SUPPORT \ + (HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_BTOWC \ + && HAVE_WMEMCHR && (HAVE_WMEMCPY || HAVE_WMEMPCPY)) /* For platform which support the ISO C amendement 1 functionality we support user defined character classes. */