From: Damien Lejay Date: Tue, 12 Aug 2025 18:46:50 +0000 (+0200) Subject: patch 9.1.1624: Cscope not enabled on MacOS X-Git-Tag: v9.1.1624^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=397b9da29d29a96d92ebdfd9d6bf379249519fa1;p=thirdparty%2Fvim.git patch 9.1.1624: Cscope not enabled on MacOS Problem: Cscope not enabled on MacOS Solution: Remove #ifdef test for MacOS and always enable FEAT_CSCOPE on Unix (Damien Lejay). Remove the !MACOS_X guard from FEAT_CSCOPE in feature.h. macOS has been a certified UNIX since 10.5 and supports cscope without issues. This guard originated in the pre-OS X era when Classic MacOS lacked the required POSIX APIs. MacVim already ships with +cscope successfully. closes: #17976 Signed-off-by: Damien Lejay Signed-off-by: Christian Brabandt --- diff --git a/src/feature.h b/src/feature.h index a87b9c2bbe..e5df7fab7c 100644 --- a/src/feature.h +++ b/src/feature.h @@ -236,7 +236,7 @@ /* * +cscope Unix only: Cscope support. */ -#if defined(UNIX) && defined(FEAT_HUGE) && defined(ENABLE_CSCOPE) && !defined(MACOS_X) +#if defined(UNIX) && defined(FEAT_HUGE) && defined(ENABLE_CSCOPE) # define FEAT_CSCOPE #endif diff --git a/src/version.c b/src/version.c index 78cf50877d..22db56962e 100644 --- a/src/version.c +++ b/src/version.c @@ -719,6 +719,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1624, /**/ 1623, /**/