diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-23 20:46:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-23 20:46:16 +0200 |
commit | 6537c421bb626ee92a2487a543e6287d33461bd0 (patch) | |
tree | c0003b0294f921ef3b6bd318bb897201358745d1 /src/vim.h | |
parent | a4baf5b32519855bb176a7aa0e9397c137ca890a (diff) | |
download | vim-git-6537c421bb626ee92a2487a543e6287d33461bd0.tar.gz |
patch 8.0.1749: VMS: 100% CPU use, redefining mch_open() failsv8.0.1749
Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
Arpadffy)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2154,8 +2154,9 @@ typedef enum { # define number_width(x) 7 #endif -/* This must come after including proto.h */ -#if !(defined(FEAT_MBYTE) && defined(WIN3264)) +/* This must come after including proto.h. + * For VMS this is defined in macros.h. */ +#if !(defined(FEAT_MBYTE) && defined(WIN3264)) && !defined(VMS) # define mch_open(n, m, p) open((n), (m), (p)) # define mch_fopen(n, p) fopen((n), (p)) #endif |