comparison 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
comparison
equal deleted inserted replaced
15716:d911ba3e63e5 15717:2b29779475c0
258 /* Used to check for "sun", "__sun" is used by newer compilers. */ 258 /* Used to check for "sun", "__sun" is used by newer compilers. */
259 #if defined(__sun) 259 #if defined(__sun)
260 # define SUN_SYSTEM 260 # define SUN_SYSTEM
261 #endif 261 #endif
262 262
263 /* if we're compiling in C++ (currently only KVim), the system 263 /* If we're compiling in C++ (currently only KVim), the system
264 * headers must have the correct prototypes or nothing will build. 264 * headers must have the correct prototypes or nothing will build.
265 * conversely, our prototypes might clash due to throw() specifiers and 265 * Conversely, our prototypes might clash due to throw() specifiers and
266 * cause compilation failures even though the headers are correct. For 266 * cause compilation failures even though the headers are correct. For
267 * a concrete example, gcc-3.2 enforces exception specifications, and 267 * a concrete example, gcc-3.2 enforces exception specifications, and
268 * glibc-2.2.5 has them in their system headers. 268 * glibc-2.2.5 has them in their system headers.
269 */ 269 */
270 #if !defined(__cplusplus) && defined(UNIX) \ 270 #if !defined(__cplusplus) && defined(UNIX) \
271 && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */ 271 && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
272 # include "auto/osdef.h" /* bring missing declarations in */ 272 # include "auto/osdef.h" /* bring missing declarations in */
273 #endif 273 #endif
274 274
275 #ifdef AMIGA 275 #ifdef AMIGA
276 # include "os_amiga.h" 276 # include "os_amiga.h"
2581 long elapsed(struct timeval *start_tv); 2581 long elapsed(struct timeval *start_tv);
2582 #elif defined(WIN32) 2582 #elif defined(WIN32)
2583 # define ELAPSED_TICKCOUNT 2583 # define ELAPSED_TICKCOUNT
2584 # define ELAPSED_INIT(v) v = GetTickCount() 2584 # define ELAPSED_INIT(v) v = GetTickCount()
2585 # define ELAPSED_FUNC(v) elapsed(v) 2585 # define ELAPSED_FUNC(v) elapsed(v)
2586 # ifdef PROTO
2587 typedef int DWORD;
2588 # endif
2586 typedef DWORD elapsed_T; 2589 typedef DWORD elapsed_T;
2587 # ifndef PROTO 2590 # ifndef PROTO
2588 long elapsed(DWORD start_tick); 2591 long elapsed(DWORD start_tick);
2589 # endif 2592 # endif
2590 #endif 2593 #endif