Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined
Problem:    Build fails when HAVE_DATE_TIME is undefined.
Solution:   Always define init_longVersion(). (Christian Brabandt,
            closes #3075)
  • Loading branch information
brammool committed Jun 24, 2018
1 parent 04958cb commit eee3e94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/version.c
Expand Up @@ -71,6 +71,12 @@ init_longVersion(void)
# endif
#else
char *longVersion = VIM_VERSION_LONG;

void
init_longVersion(void)
{
// nothing to do
}
#endif

static void list_features(void);
Expand Down Expand Up @@ -783,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
106,
/**/
105,
/**/
Expand Down

0 comments on commit eee3e94

Please sign in to comment.