diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-03-05 00:34:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-05 00:34:45 +0100 |
commit | 921846fa22adb0abc3fb35e18c6be5feb5091cdd (patch) | |
tree | 4b53b3b120ff88bf1e1e93d7e36902d1aa5d8a8f /config.mak.uname | |
parent | Merge https://github.com/prati0100/git-gui (diff) | |
parent | config.mak.uname: enable OPEN_RETURNS_EINTR for macOS Big Sur (diff) | |
download | git-921846fa22adb0abc3fb35e18c6be5feb5091cdd.tar.xz git-921846fa22adb0abc3fb35e18c6be5feb5091cdd.zip |
Merge branch 'jk/open-returns-eintr'
Work around platforms whose open() is reported to return EINTR (it
shouldn't, as we do our signals with SA_RESTART).
* jk/open-returns-eintr:
config.mak.uname: enable OPEN_RETURNS_EINTR for macOS Big Sur
Makefile: add OPEN_RETURNS_EINTR knob
Diffstat (limited to 'config.mak.uname')
-rw-r--r-- | config.mak.uname | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname index e22d4b6d67..d204c20a64 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -124,6 +124,9 @@ ifeq ($(uname_S),Darwin) ifeq ($(shell test "`expr "$(uname_R)" : '\([0-9][0-9]*\)\.'`" -ge 11 && echo 1),1) HAVE_GETDELIM = YesPlease endif + ifeq ($(shell test "`expr "$(uname_R)" : '\([0-9][0-9]*\)\.'`" -ge 20 && echo 1),1) + OPEN_RETURNS_EINTR = UnfortunatelyYes + endif NO_MEMMEM = YesPlease USE_ST_TIMESPEC = YesPlease HAVE_DEV_TTY = YesPlease |