1
0
forked from aniani/vim

patch 8.2.0009: VMS: terminal version doesn't build

Problem:    VMS: terminal version doesn't build.
Solution:   Move MIN definition.  Adjust #ifdefs. (Zoltan Arpadffy)
This commit is contained in:
Bram Moolenaar
2019-12-15 12:54:18 +01:00
parent 3e2d1c8cd6
commit 95f0b6e5a5
5 changed files with 12 additions and 8 deletions

View File

@@ -2866,11 +2866,6 @@ check_for_cryptkey(
}
#endif // FEAT_CRYPT
#if defined(VMS) && !defined(MIN)
// Older DECC compiler for VAX doesn't define MIN()
# define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif
/*
* Return TRUE if a file appears to be read-only from the file permissions.
*/