diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-13 17:24:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-13 17:24:26 +0100 |
commit | f8b7d890f1d62f3ab101d2b02dd7716cb7f053cb (patch) | |
tree | 70aae9e3137efcd1395e58de3bcd07c03c25cd1c /src | |
parent | d090d7bab5a0d96559579e078dfdcc6d7d4f4713 (diff) | |
download | vim-f8b7d890f1d62f3ab101d2b02dd7716cb7f053cb.zip |
patch 7.4.1312
Problem: sock_T is not defined without the +channel feature.
Solution: Always define it.
Diffstat (limited to 'src')
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/version.c b/src/version.c index 130bbde6d..b934ea284 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1312, +/**/ 1311, /**/ 1310, @@ -1730,12 +1730,10 @@ typedef struct timeval proftime_T; typedef int proftime_T; /* dummy for function prototypes */ #endif -#ifdef FEAT_CHANNEL -# ifdef WIN64 +#ifdef WIN64 typedef __int64 sock_T; -# else +#else typedef int sock_T; -# endif #endif /* Include option.h before structs.h, because the number of window-local and |