patch 9.1.1624: Cscope not enabled on MacOS
Commit:
https://github.com/vim/vim/commit/397b9da29d29a96d92ebdfd9d6bf379249519fa1
Author: Damien Lejay <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uluE8-00AyPR-So%40256bit.org.