0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.1.0072: Not able to build without FEAT_DIFF

Problem:  Not able to build without FEAT_DIFF
          (John Marriott, after 9.1.0071)
Solution: Adjust #ifdefs
          (Yegappan Lakshmanan)

closes: #13964

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan
2024-02-03 17:41:54 +01:00
committed by Christian Brabandt
parent 2d205d0a95
commit 609370392a
2 changed files with 10 additions and 6 deletions

View File

@@ -3466,6 +3466,7 @@ f_diff_hlID(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
# endif # endif
} }
# ifdef FEAT_DIFF
/* /*
* Parse the diff options passed in "optarg" to the diff() function and return * Parse the diff options passed in "optarg" to the diff() function and return
* the options in "diffopts" and the diff algorithm in "diffalgo". * the options in "diffopts" and the diff algorithm in "diffalgo".
@@ -3575,6 +3576,7 @@ get_diff_hunk_indices(diffhunk_T *hunk)
return hunk_dict; return hunk_dict;
} }
# endif
/* /*
* "diff()" function * "diff()" function

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
72,
/**/ /**/
71, 71,
/**/ /**/