Mercurial > vim
diff src/os_win32.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 | b4d92a69035b |
children | 4f1c67a5f446 |
line wrap: on
line diff
--- a/src/os_win32.h +++ b/src/os_win32.h @@ -47,13 +47,8 @@ #define FEAT_SHORTCUT // resolve shortcuts -#if (!defined(_MSC_VER) || _MSC_VER > 1020) -/* - * Access Control List (actually security info). - * MSVC has acl stuff only in 5.0, not in 4.2, don't know about 4.3. - */ -# define HAVE_ACL -#endif +// Access Control List (actually security info). +#define HAVE_ACL #define USE_FNAME_CASE // adjust case of file names #if !defined(FEAT_CLIPBOARD) @@ -134,17 +129,11 @@ # define IO_REPARSE_TAG_SYMLINK 0xA000000C #endif -#if defined(_MSC_VER) +#ifdef _MSC_VER // Support for __try / __except. All versions of MSVC are // expected to have this. Any other compilers that support it? # define HAVE_TRY_EXCEPT 1 # include <malloc.h> // for _resetstkoflw() -# if defined(_MSC_VER) && (_MSC_VER >= 1300) -# define RESETSTKOFLW _resetstkoflw -# else -# define RESETSTKOFLW myresetstkoflw -# define MYRESETSTKOFLW -# endif #endif /* @@ -154,14 +143,8 @@ #ifdef _DEBUG -# if defined(_MSC_VER) && (_MSC_VER >= 1000) - // Use the new debugging tools in Visual C++ 4.x -# include <crtdbg.h> -# define ASSERT(f) _ASSERT(f) -# else -# include <assert.h> -# define ASSERT(f) assert(f) -# endif +# include <crtdbg.h> +# define ASSERT(f) _ASSERT(f) # define TRACE Trace # define TRACE0(sz) Trace(_T("%s"), _T(sz))