diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-19 23:01:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-19 23:01:28 +0100 |
commit | a07549008207099e8b7884d11d7c8a106e290cb9 (patch) | |
tree | 7411498acc0cddc0318d61465681979272ba73be /src/os_win32.c | |
parent | ffc4fb8fee4521a86670ae791411e319b6a2e1fd (diff) | |
download | vim-git-a07549008207099e8b7884d11d7c8a106e290cb9.tar.gz |
patch 8.1.2323: Old MSVC version no longer tested.v8.1.2323
Problem: Old MSVC version no longer tested.
Solution: Drop support for MSCV 2008 and older. (Ken Takata, closes #5248)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 265dd7e94..b82673b57 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -921,14 +921,6 @@ static const struct }; -#ifdef _MSC_VER -// The ToAscii bug destroys several registers. Need to turn off optimization -// or the GetConsoleKeyboardLayoutName hack will fail in non-debug versions -# pragma warning(push) -# pragma warning(disable: 4748) -# pragma optimize("", off) -#endif - #if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__) # define UChar UnicodeChar #else @@ -981,20 +973,6 @@ win32_kbd_patch_key( return s_iIsDead; } -#ifdef _MSC_VER -/* MUST switch optimization on again here, otherwise a call to - * decode_key_event() may crash (e.g. when hitting caps-lock) */ -# pragma optimize("", on) -# pragma warning(pop) - -# if (_MSC_VER < 1100) -/* MUST turn off global optimisation for this next function, or - * pressing ctrl-minus in insert mode crashes Vim when built with - * VC4.1. -- negri. */ -# pragma optimize("g", off) -# endif -#endif - static BOOL g_fJustGotFocus = FALSE; /* @@ -1120,10 +1098,6 @@ decode_key_event( return (*pch != NUL); } -#ifdef _MSC_VER -# pragma optimize("", on) -#endif - #endif /* FEAT_GUI_MSWIN */ |