diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-02 22:50:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-02 22:50:37 +0200 |
commit | 5289783e0b07cfc3f92ee933261ca4c4acdca007 (patch) | |
tree | bc7ed964d15c31e956628af851194908a48686a2 /src/auto | |
parent | 810af5ea460eab820cc5899892067d8c242be688 (diff) | |
download | vim-git-5289783e0b07cfc3f92ee933261ca4c4acdca007.tar.gz |
patch 8.2.1119: configure fails with Xcode 12 betav8.2.1119
Problem: Configure fails with Xcode 12 beta.
Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auto/configure b/src/auto/configure index f642a0b5f..9c9a719d8 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -14143,8 +14143,8 @@ else main() { uint32_t nr1 = (uint32_t)-1; uint32_t nr2 = (uint32_t)0xffffffffUL; - if (sizeof(uint32_t) != 4 || nr1 != 0xffffffffUL || nr2 + 1 != 0) exit(1); - exit(0); + if (sizeof(uint32_t) != 4 || nr1 != 0xffffffffUL || nr2 + 1 != 0) return 1; + return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : |