diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-10 20:53:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-10 20:53:05 +0200 |
commit | a6b7a08ae04a3cd4d9c45c906bb7a197e2135179 (patch) | |
tree | 2adc8f539865a19045daac26adb5de10a4522f88 /src/gui_w32.c | |
parent | a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9 (diff) | |
download | vim-git-a6b7a08ae04a3cd4d9c45c906bb7a197e2135179.tar.gz |
patch 7.4.2192v7.4.2192
Problem: Generating prototypes with Cygwin doesn't work well.
Solution: Change #ifdefs. (Ken Takata)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 19f4d6500..78db43e6b 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -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 |