mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.1182: some function prototypes are outdated
Problem: Some function prototypes are outdated. Solution: Update function prototypes. (Ken Takata, closes #4267)
This commit is contained in:
@@ -5663,6 +5663,19 @@ term_getjob(term_T *term)
|
||||
/**************************************
|
||||
* 2. MS-Windows implementation.
|
||||
*/
|
||||
#ifdef PROTO
|
||||
typedef int COORD;
|
||||
typedef int DWORD;
|
||||
typedef int HANDLE;
|
||||
typedef int *DWORD_PTR;
|
||||
typedef int HPCON;
|
||||
typedef int HRESULT;
|
||||
typedef int LPPROC_THREAD_ATTRIBUTE_LIST;
|
||||
typedef int PSIZE_T;
|
||||
typedef int PVOID;
|
||||
typedef int SIZE_T;
|
||||
typedef int WINAPI;
|
||||
#endif
|
||||
|
||||
HRESULT (WINAPI *pCreatePseudoConsole)(COORD, HANDLE, HANDLE, DWORD, HPCON*);
|
||||
HRESULT (WINAPI *pResizePseudoConsole)(HPCON, COORD);
|
||||
|
Reference in New Issue
Block a user