Mercurial > vim
comparison src/nbdebug.c @ 15868:7fad90423bd2 v8.1.0941
patch 8.1.0941: macros for MS-Windows are inconsistent
commit https://github.com/vim/vim/commit/4f97475d326c2773a78561fb874e4f23c25cbcd9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 17 17:44:42 2019 +0100
patch 8.1.0941: macros for MS-Windows are inconsistent
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Feb 2019 17:45:08 +0100 |
parents | 41fbbcea0f1b |
children | 7ad3fc329e08 |
comparison
equal
deleted
inserted
replaced
15867:4a3823e692d3 | 15868:7fad90423bd2 |
---|---|
122 { | 122 { |
123 char buf[BUFSIZ]; | 123 char buf[BUFSIZ]; |
124 | 124 |
125 expand_env((char_u *) file, (char_u *) buf, BUFSIZ); | 125 expand_env((char_u *) file, (char_u *) buf, BUFSIZ); |
126 return | 126 return |
127 #ifndef FEAT_GUI_W32 | 127 #ifndef FEAT_GUI_MSWIN |
128 (access(buf, F_OK) == 0); | 128 (access(buf, F_OK) == 0); |
129 #else | 129 #else |
130 (access(buf, 0) == 0); | 130 (access(buf, 0) == 0); |
131 #endif | 131 #endif |
132 | 132 |