From 397b9da29d29a96d92ebdfd9d6bf379249519fa1 Mon Sep 17 00:00:00 2001 From: Damien Lejay Date: Tue, 12 Aug 2025 20:46:50 +0200 Subject: [PATCH] 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 --- src/feature.h | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/