diff options
author | K.Takata <kentkt@csc.jp> | 2022-01-24 11:24:08 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-24 11:24:08 +0000 |
commit | c351dc1e0ca959084ba36bb350291334bf74b9f8 (patch) | |
tree | 2f8979a19950eadb42d7d3cc61f725bd90ad33d6 /src/macros.h | |
parent | 058ee7c5699ef551be5aa04c66b3cffc436e9b08 (diff) |
patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not usefulv8.2.4199
Problem: MS-Windows: Support for MSVC 2003 is not useful.
Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.h b/src/macros.h index ae7ed1a7ae..31b52194d4 100644 --- a/src/macros.h +++ b/src/macros.h @@ -166,9 +166,9 @@ # define mch_access(n, p) access((n), (p)) # endif -// Use 64-bit fstat function if available. +// Use 64-bit fstat function on MS-Windows. // NOTE: This condition is the same as for the stat_T type. -# if (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__MINGW32__) +# ifdef MSWIN # define mch_fstat(n, p) _fstat64((n), (p)) # else # define mch_fstat(n, p) fstat((n), (p)) |