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/os_win32.h | |
parent | 058ee7c5699ef551be5aa04c66b3cffc436e9b08 (diff) | |
download | vim-git-c351dc1e0ca959084ba36bb350291334bf74b9f8.tar.gz |
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/os_win32.h')
-rw-r--r-- | src/os_win32.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/src/os_win32.h b/src/os_win32.h index 116b9e829..d22772353 100644 --- 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)) |