forked from aniani/vim
patch 7.4.1169
Problem: The socket I/O is intertwined with the netbeans code. Solution: Start refactoring the netbeans communication to split off the socket I/O. Add the +channel feature.
This commit is contained in:
18
src/vim.h
18
src/vim.h
@@ -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 */
|
||||
|
Reference in New Issue
Block a user