mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -553,7 +553,7 @@ typedef BOOL (WINAPI *TGetMonitorInfo)(_HMONITOR, _MONITORINFO *);
|
||||
static TMonitorFromWindow pMonitorFromWindow = NULL;
|
||||
static TGetMonitorInfo pGetMonitorInfo = NULL;
|
||||
static HANDLE user32_lib = NULL;
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
#ifdef FEAT_CHANNEL
|
||||
int WSInitialized = FALSE; /* WinSock is initialized */
|
||||
#endif
|
||||
/*
|
||||
@@ -5048,12 +5048,14 @@ netbeans_draw_multisign_indicator(int row)
|
||||
SetPixel(s_hdc, x+3, y++, gui.currFgColor);
|
||||
SetPixel(s_hdc, x+2, y, gui.currFgColor);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_CHANNEL) || defined(PROTO)
|
||||
/*
|
||||
* Initialize the Winsock dll.
|
||||
*/
|
||||
void
|
||||
netbeans_init_winsock()
|
||||
channel_init_winsock()
|
||||
{
|
||||
WSADATA wsaData;
|
||||
int wsaerr;
|
||||
|
Reference in New Issue
Block a user