Cygwin 1.7 has thread-safe pread
authorMark Levedahl <mlevedahl@gmail.com>
Fri, 19 Jul 2013 23:08:29 +0000 (19:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 05:03:09 +0000 (22:03 -0700)
Per http://cygwin.com/ml/cygwin/2012-07/msg00331.html , cygwin 1.7
was modified to explicitly support git's use of pread, so make this
the default. Do not affect earlier cygwin versions.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname
index 46069700731e81329fcc116c81770ddf736b85f5..ce0390db55011e5c51939690630d8d953f79118d 100644 (file)
@@ -159,10 +159,10 @@ ifeq ($(uname_O),Cygwin)
                NO_SYMLINK_HEAD = YesPlease
                NO_IPV6 = YesPlease
                OLD_ICONV = UnfortunatelyYes
+               NO_THREAD_SAFE_PREAD = YesPlease
        else
                NO_REGEX = UnfortunatelyYes
        endif
-       NO_THREAD_SAFE_PREAD = YesPlease
        NEEDS_LIBICONV = YesPlease
        NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
        NO_TRUSTABLE_FILEMODE = UnfortunatelyYes