diff src/macros.h @ 27342:41a940219183 v8.2.4199

patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not useful Commit: https://github.com/vim/vim/commit/c351dc1e0ca959084ba36bb350291334bf74b9f8 Author: K.Takata <kentkt@csc.jp> Date: Mon Jan 24 11:24:08 2022 +0000 patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not useful Problem: MS-Windows: Support for MSVC 2003 is not useful. Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes https://github.com/vim/vim/issues/9616)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 12:30:04 +0100
parents a8f526c9b172
children fb4c30606b4a
line wrap: on
line diff
--- 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))