diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-12 14:20:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-12 14:20:24 +0200 |
commit | cea912af725c54f4727a0565e31661f6b29c6bb1 (patch) | |
tree | f48da16d68c229e22ff83fa31cc7337368875e3d /src/os_win32.h | |
parent | a7c023ec88233a2db4c1f53121921e110ece8d43 (diff) | |
download | vim-git-cea912af725c54f4727a0565e31661f6b29c6bb1.tar.gz |
patch 8.0.0029v8.0.0029
Problem: Code for MS-Windows is complicated because of the exceptions for
old systems.
Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
Diffstat (limited to 'src/os_win32.h')
-rw-r--r-- | src/os_win32.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/os_win32.h b/src/os_win32.h index 3c11d4d44..f620d742e 100644 --- a/src/os_win32.h +++ b/src/os_win32.h @@ -210,20 +210,15 @@ Trace(char *pszFormat, ...); # define vim_mkdir(x, y) mch_mkdir(x) #endif -#ifndef PROTO - /* Enable common dialogs input unicode from IME if possible. */ #ifdef FEAT_MBYTE - /* The variables are defined in os_win32.c. */ -extern LRESULT (WINAPI *pDispatchMessage)(CONST MSG *); -extern BOOL (WINAPI *pGetMessage)(LPMSG, HWND, UINT, UINT); -extern BOOL (WINAPI *pIsDialogMessage)(HWND, LPMSG); -extern BOOL (WINAPI *pPeekMessage)(LPMSG, HWND, UINT, UINT, UINT); +# define pDispatchMessage DispatchMessageW +# define pGetMessage GetMessageW +# define pIsDialogMessage IsDialogMessageW +# define pPeekMessage PeekMessageW #else # define pDispatchMessage DispatchMessage # define pGetMessage GetMessage # define pIsDialogMessage IsDialogMessage # define pPeekMessage PeekMessage #endif - -#endif /* PROTO */ |