# HG changeset patch # User Bram Moolenaar # Date 1608552904 -3600 # Node ID b7697fb567eaf25671b964580a505ec0b52ee8e4 # Parent a1523cdab8ace4a247cd394f582d7e338448e967 patch 8.2.2174: Mac version doesn't specify the CPU architecture Commit: https://github.com/vim/vim/commit/8c9d98a8af5351a3ac98cf11dede9f0268461511 Author: Bram Moolenaar 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) diff --git a/src/version.c b/src/version.c --- 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