Cygwin 1.7 needs compat/regex

Cygwin v1.7 uses the regex library from newlib which does not pass git's tests, so don't use it. This fixes failures in t4018 and t4034. Continue to use the platform supplied regex library for earlier versions. Signed-off-by: Mark Levedahl <mlevedahl@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Mark Levedahl committed Jul 19, 2013 at 19:08 UTC 92f63d2b055fea3070108fe5015b8158e1c923db
1 file changed +2
config.mak.uname
+2
@@ -159,6 +159,8 @@ ifeq ($(uname_O),Cygwin)
159 NO_SYMLINK_HEAD = YesPlease
160 NO_IPV6 = YesPlease
161 OLD_ICONV = UnfortunatelyYes
162 + else
163 + NO_REGEX = UnfortunatelyYes
164 endif
165 NO_THREAD_SAFE_PREAD = YesPlease
166 NEEDS_LIBICONV = YesPlease