mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.3445: on Solaris longVersion may be declared twice
Problem: On Solaris longVersion may be declared twice. (Vladimir Marek) Solution: Always declare longVersion in version.c
This commit is contained in:
@@ -1333,7 +1333,7 @@ extern char *Version;
|
|||||||
#if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
|
#if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
|
||||||
extern char longVersion[];
|
extern char longVersion[];
|
||||||
#else
|
#else
|
||||||
EXTERN char *longVersion INIT(= NULL);
|
extern char *longVersion;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -51,6 +51,8 @@ init_longVersion(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
# else
|
# else
|
||||||
|
char *longVersion = NULL;
|
||||||
|
|
||||||
void
|
void
|
||||||
init_longVersion(void)
|
init_longVersion(void)
|
||||||
{
|
{
|
||||||
@@ -755,6 +757,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 */
|
||||||
|
/**/
|
||||||
|
3445,
|
||||||
/**/
|
/**/
|
||||||
3444,
|
3444,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user