diff options
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1929,8 +1929,8 @@ typedef int proftime_T; /* dummy for function prototypes */ # ifdef FEAT_OLE # define WM_OLE (WM_APP+0) # endif -# ifdef FEAT_NETBEANS_INTG - /* message for Netbeans socket event */ +# ifdef FEAT_CHANNEL + /* message for channel socket event */ # define WM_NETBEANS (WM_APP+1) # endif # endif @@ -1979,6 +1979,14 @@ typedef int VimClipboard; /* This is required for the prototypes. */ # define stat(a,b) (access(a,0) ? -1 : stat(a,b)) #endif +#ifdef FEAT_CHANNEL +# ifdef WIN64 +typedef __int64 sock_T; +# else +typedef int sock_T; +# endif +#endif + #include "ex_cmds.h" /* Ex command defines */ #include "proto.h" /* function prototypes */ @@ -2312,4 +2320,10 @@ typedef int VimClipboard; /* This is required for the prototypes. */ # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag) #endif +#ifdef FEAT_CHANNEL +# define MAX_OPEN_CHANNELS 10 +#else +# define MAX_OPEN_CHANNELS 0 +#endif + #endif /* VIM__H */ |