Skip to content

Commit f8b7d89

Browse files
committed
patch 7.4.1312
Problem: sock_T is not defined without the +channel feature. Solution: Always define it.
1 parent d090d7b commit f8b7d89

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ static char *(features[]) =
747747

748748
static int included_patches[] =
749749
{ /* Add new patch number below this line */
750+
/**/
751+
1312,
750752
/**/
751753
1311,
752754
/**/

src/vim.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,12 +1730,10 @@ typedef struct timeval proftime_T;
17301730
typedef int proftime_T; /* dummy for function prototypes */
17311731
#endif
17321732

1733-
#ifdef FEAT_CHANNEL
1734-
# ifdef WIN64
1733+
#ifdef WIN64
17351734
typedef __int64 sock_T;
1736-
# else
1735+
#else
17371736
typedef int sock_T;
1738-
# endif
17391737
#endif
17401738

17411739
/* Include option.h before structs.h, because the number of window-local and

0 commit comments

Comments
 (0)