Skip to content

Commit 4dba9d1

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents aedaad5 + 63e4344 commit 4dba9d1

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

src/Make_mvc.mak

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ CPU = ix86
297297
# Flag to turn on Win64 compatibility warnings for VC7.x and VC8.
298298
WP64CHECK = /Wp64
299299

300+
# Use multiprocess build
301+
USE_MP = yes
302+
300303
#>>>>> path of the compiler and linker; name of include and lib directories
301304
# PATH = c:\msvc20\bin;$(PATH)
302305
# INCLUDE = c:\msvc20\include
@@ -473,6 +476,14 @@ NODEFAULTLIB =
473476
NODEFAULTLIB = /nodefaultlib
474477
!endif
475478

479+
# Use multiprocess build on MSVC 10
480+
!if "$(USE_MP)"=="yes"
481+
!if $(MSVC_MAJOR) >= 10
482+
CFLAGS = $(CFLAGS) /MP
483+
!endif
484+
!endif
485+
486+
476487
!ifdef NODEBUG
477488
VIM = vim
478489
!if "$(OPTIMIZE)" == "SPACE"

src/os_win32.c

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4705,12 +4705,24 @@ mch_call_shell(
47054705
#if defined(FEAT_GUI_W32)
47064706
if (need_vimrun_warning)
47074707
{
4708-
MessageBox(NULL,
4709-
_("VIMRUN.EXE not found in your $PATH.\n"
4710-
"External commands will not pause after completion.\n"
4711-
"See :help win32-vimrun for more information."),
4712-
_("Vim Warning"),
4713-
MB_ICONWARNING);
4708+
char *msg = _("VIMRUN.EXE not found in your $PATH.\n"
4709+
"External commands will not pause after completion.\n"
4710+
"See :help win32-vimrun for more information.");
4711+
char *title = _("Vim Warning");
4712+
# ifdef FEAT_MBYTE
4713+
if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
4714+
{
4715+
WCHAR *wmsg = enc_to_utf16((char_u *)msg, NULL);
4716+
WCHAR *wtitle = enc_to_utf16((char_u *)title, NULL);
4717+
4718+
if (wmsg != NULL && wtitle != NULL)
4719+
MessageBoxW(NULL, wmsg, wtitle, MB_ICONWARNING);
4720+
vim_free(wmsg);
4721+
vim_free(wtitle);
4722+
}
4723+
else
4724+
# endif
4725+
MessageBox(NULL, msg, title, MB_ICONWARNING);
47144726
need_vimrun_warning = FALSE;
47154727
}
47164728
if (!s_dont_use_vimrun && p_stmp)

src/version.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,10 @@ static char *(features[]) =
779779

780780
static int included_patches[] =
781781
{ /* Add new patch number below this line */
782+
/**/
783+
94,
784+
/**/
785+
93,
782786
/**/
783787
92,
784788
/**/

0 commit comments

Comments
 (0)