diff src/terminal.c @ 16354:b3bc3ba07bef v8.1.1182

patch 8.1.1182: some function prototypes are outdated commit https://github.com/vim/vim/commit/b9cdb37176a163f5047e149c3b568eee9883157c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 17 18:24:35 2019 +0200 patch 8.1.1182: some function prototypes are outdated Problem: Some function prototypes are outdated. Solution: Update function prototypes. (Ken Takata, closes https://github.com/vim/vim/issues/4267)
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Apr 2019 18:30:05 +0200
parents 46e8430738fa
children 3d6b282e2d6e
line wrap: on
line diff
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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);