forked from aniani/vim
patch 8.2.1309: build failure with tiny version
Problem: Build failure with tiny version. Solution: Add #ifdef.
This commit is contained in:
@@ -3176,9 +3176,10 @@ ex_append(exarg_T *eap)
|
|||||||
int vcol;
|
int vcol;
|
||||||
int empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
|
int empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
|
||||||
|
|
||||||
|
#ifdef FEAT_EVAL
|
||||||
if (not_in_vim9(eap) == FAIL)
|
if (not_in_vim9(eap) == FAIL)
|
||||||
return;
|
return;
|
||||||
|
#endif
|
||||||
// the ! flag toggles autoindent
|
// the ! flag toggles autoindent
|
||||||
if (eap->forceit)
|
if (eap->forceit)
|
||||||
curbuf->b_p_ai = !curbuf->b_p_ai;
|
curbuf->b_p_ai = !curbuf->b_p_ai;
|
||||||
@@ -3320,9 +3321,10 @@ ex_change(exarg_T *eap)
|
|||||||
{
|
{
|
||||||
linenr_T lnum;
|
linenr_T lnum;
|
||||||
|
|
||||||
|
#ifdef FEAT_EVAL
|
||||||
if (not_in_vim9(eap) == FAIL)
|
if (not_in_vim9(eap) == FAIL)
|
||||||
return;
|
return;
|
||||||
|
#endif
|
||||||
if (eap->line2 >= eap->line1
|
if (eap->line2 >= eap->line1
|
||||||
&& u_save(eap->line1 - 1, eap->line2 + 1) == FAIL)
|
&& u_save(eap->line1 - 1, eap->line2 + 1) == FAIL)
|
||||||
return;
|
return;
|
||||||
|
@@ -5686,8 +5686,10 @@ ex_stop(exarg_T *eap)
|
|||||||
static void
|
static void
|
||||||
ex_exit(exarg_T *eap)
|
ex_exit(exarg_T *eap)
|
||||||
{
|
{
|
||||||
|
#ifdef FEAT_EVAL
|
||||||
if (not_in_vim9(eap) == FAIL)
|
if (not_in_vim9(eap) == FAIL)
|
||||||
return;
|
return;
|
||||||
|
#endif
|
||||||
#ifdef FEAT_CMDWIN
|
#ifdef FEAT_CMDWIN
|
||||||
if (cmdwin_type != 0)
|
if (cmdwin_type != 0)
|
||||||
{
|
{
|
||||||
|
@@ -754,6 +754,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 */
|
||||||
|
/**/
|
||||||
|
1309,
|
||||||
/**/
|
/**/
|
||||||
1308,
|
1308,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user