Mercurial > vim
changeset 23256:b7697fb567ea v8.2.2174
patch 8.2.2174: Mac version doesn't specify the CPU architecture
Commit: https://github.com/vim/vim/commit/8c9d98a8af5351a3ac98cf11dede9f0268461511
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 21 13:05:57 2020 +0100
patch 8.2.2174: Mac version doesn't specify the CPU architecture
Problem: Mac version doesn't specify the CPU architecture.
Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes https://github.com/vim/vim/issues/7519)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 21 Dec 2020 13:15:04 +0100 |
parents | a1523cdab8ac |
children | 36302dd717cf |
files | src/version.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2174, +/**/ 2173, /**/ 2172, @@ -5333,6 +5335,11 @@ list_version(void) # else msg_puts(_("\nmacOS version w/o darwin feat.")); # endif +# if defined(__arm64__) + msg_puts(" - arm64"); +# elif defined(__x86_64__) + msg_puts(" - x86_64"); +# endif #endif #ifdef VMS