Skip to content

Commit 397b9da

Browse files
dlejaychrisbra
authored andcommitted
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]>
1 parent d1833d2 commit 397b9da

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/feature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
/*
237237
* +cscope Unix only: Cscope support.
238238
*/
239-
#if defined(UNIX) && defined(FEAT_HUGE) && defined(ENABLE_CSCOPE) && !defined(MACOS_X)
239+
#if defined(UNIX) && defined(FEAT_HUGE) && defined(ENABLE_CSCOPE)
240240
# define FEAT_CSCOPE
241241
#endif
242242

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,8 @@ static char *(features[]) =
719719

720720
static int included_patches[] =
721721
{ /* Add new patch number below this line */
722+
/**/
723+
1624,
722724
/**/
723725
1623,
724726
/**/

0 commit comments

Comments
 (0)