Cygwin 1.7 has thread-safe pread
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>
Mark Levedahl committed
Jul 19, 2013 at 19:08 UTC
103d530f775d513ff9ebc148a9b54a8677a01790
1 file changed
+1
-1
config.mak.uname
+1
-1
@@ -159,10 +159,10 @@ ifeq ($(uname_O),Cygwin)
159
NO_SYMLINK_HEAD = YesPlease
160
NO_IPV6 = YesPlease
161
OLD_ICONV = UnfortunatelyYes
162
+ NO_THREAD_SAFE_PREAD = YesPlease
163
else
164
NO_REGEX = UnfortunatelyYes
165
endif
165
- NO_THREAD_SAFE_PREAD = YesPlease
166
NEEDS_LIBICONV = YesPlease
167
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
168
NO_TRUSTABLE_FILEMODE = UnfortunatelyYes