Skip to content

Commit eee3e94

Browse files
committed
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)
1 parent 04958cb commit eee3e94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/version.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ init_longVersion(void)
7171
# endif
7272
#else
7373
char *longVersion = VIM_VERSION_LONG;
74+
75+
void
76+
init_longVersion(void)
77+
{
78+
// nothing to do
79+
}
7480
#endif
7581

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

784790
static int included_patches[] =
785791
{ /* Add new patch number below this line */
792+
/**/
793+
106,
786794
/**/
787795
105,
788796
/**/

0 commit comments

Comments
 (0)