Support cross-compilation of <wctype.h>.
[gnulib.git] / lib / fnmatch_loop.c
index 5f80392..d1008c2 100644 (file)
@@ -599,9 +599,12 @@ FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end,
                        if (!is_range && c == fn)
                          goto matched;
 
+#if _LIBC
                        /* This is needed if we goto normal_bracket; from
                           outside of is_seqval's scope.  */
                        is_seqval = false;
+#endif
+
                        cold = c;
                        c = *p++;
                      }