Mercurial > vim
diff src/vim.h @ 15717:2b29779475c0 v8.1.0866
patch 8.1.0866: build file dependencies are outdated
commit https://github.com/vim/vim/commit/1c321dcee966b82a527cb34bbadd5874d6bc454a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 1 20:42:22 2019 +0100
patch 8.1.0866: build file dependencies are outdated
Problem: Build file dependencies are outdated. (John Little)
Solution: Run "make proto" and "make depend".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Feb 2019 20:45:07 +0100 |
parents | 6f1c7e9a6393 |
children | 9745c25da3bc |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -260,15 +260,15 @@ # define SUN_SYSTEM #endif -/* if we're compiling in C++ (currently only KVim), the system +/* If we're compiling in C++ (currently only KVim), the system * headers must have the correct prototypes or nothing will build. - * conversely, our prototypes might clash due to throw() specifiers and + * Conversely, our prototypes might clash due to throw() specifiers and * cause compilation failures even though the headers are correct. For * a concrete example, gcc-3.2 enforces exception specifications, and * glibc-2.2.5 has them in their system headers. */ #if !defined(__cplusplus) && defined(UNIX) \ - && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */ + && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */ # include "auto/osdef.h" /* bring missing declarations in */ #endif @@ -2583,6 +2583,9 @@ long elapsed(struct timeval *start_tv); # define ELAPSED_TICKCOUNT # define ELAPSED_INIT(v) v = GetTickCount() # define ELAPSED_FUNC(v) elapsed(v) +# ifdef PROTO +typedef int DWORD; +# endif typedef DWORD elapsed_T; # ifndef PROTO long elapsed(DWORD start_tick);