mirror of
https://github.com/vim/vim.git
synced 2025-10-17 07:44:28 -04:00
patch 7.4.2192
Problem: Generating prototypes with Cygwin doesn't work well. Solution: Change #ifdefs. (Ken Takata)
This commit is contained in:
@@ -247,6 +247,7 @@ gui_mch_set_rendering_options(char_u *s)
|
||||
# define CONST
|
||||
# define FAR
|
||||
# define NEAR
|
||||
# undef _cdecl
|
||||
# define _cdecl
|
||||
typedef int BOOL;
|
||||
typedef int BYTE;
|
||||
@@ -288,6 +289,7 @@ typedef void VOID;
|
||||
typedef int LPNMHDR;
|
||||
typedef int LONG;
|
||||
typedef int WNDPROC;
|
||||
typedef int UINT_PTR;
|
||||
#endif
|
||||
|
||||
#ifndef GET_X_LPARAM
|
||||
@@ -3451,7 +3453,7 @@ gui_mch_settitle(
|
||||
set_window_title(s_hwnd, (title == NULL ? "VIM" : (char *)title));
|
||||
}
|
||||
|
||||
#ifdef FEAT_MOUSESHAPE
|
||||
#if defined(FEAT_MOUSESHAPE) || defined(PROTO)
|
||||
/* Table for shape IDCs. Keep in sync with the mshape_names[] table in
|
||||
* misc2.c! */
|
||||
static LPCSTR mshape_idcs[] =
|
||||
@@ -3514,7 +3516,7 @@ mch_set_mouse_shape(int shape)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_BROWSE
|
||||
#if defined(FEAT_BROWSE) || defined(PROTO)
|
||||
/*
|
||||
* The file browser exists in two versions: with "W" uses wide characters,
|
||||
* without "W" the current codepage. When FEAT_MBYTE is defined and on
|
||||
|
Reference in New Issue
Block a user