From 8c9d98a8af5351a3ac98cf11dede9f0268461511 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 21 Dec 2020 13:05:57 +0100 Subject: [PATCH] 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 #7519) --- src/version.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/version.c b/src/version.c index 1a45c95ca..395db11ec 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2174, /**/ 2173, /**/ @@ -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 -- 2.40.0