1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2020-12-21 13:05:57 +01:00
parent 52c124d330
commit 8c9d98a8af

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2174,
/**/ /**/
2173, 2173,
/**/ /**/
@@ -5333,6 +5335,11 @@ list_version(void)
# else # else
msg_puts(_("\nmacOS version w/o darwin feat.")); msg_puts(_("\nmacOS version w/o darwin feat."));
# endif # endif
# if defined(__arm64__)
msg_puts(" - arm64");
# elif defined(__x86_64__)
msg_puts(" - x86_64");
# endif
#endif #endif
#ifdef VMS #ifdef VMS