Commit: patch 9.1.1624: Cscope not enabled on MacOS

4 views
Skip to first unread message

Christian Brabandt

unread,
Aug 12, 2025, 3:00:15 PM8/12/25
to vim...@googlegroups.com
patch 9.1.1624: Cscope not enabled on MacOS

Commit: https://github.com/vim/vim/commit/397b9da29d29a96d92ebdfd9d6bf379249519fa1
Author: Damien Lejay <dam...@lejay.be>
Date: Tue Aug 12 20:46:50 2025 +0200

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 <dam...@lejay.be>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/feature.h b/src/feature.h
index a87b9c2bb..e5df7fab7 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 78cf50877..22db56962 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,
/**/
Reply all
Reply to author
Forward
0 new messages