0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 7.4.837

Problem:    Compiler warning with MSVC compiler when using +sniff.
Solution:   Use Sleep() instead of _sleep(). (Tux)
This commit is contained in:
Bram Moolenaar
2015-08-25 19:49:50 +02:00
parent 0a38dd29d6
commit 80ce282107
2 changed files with 6 additions and 0 deletions

View File

@@ -655,7 +655,11 @@ sniff_disconnect(immediately)
else else
{ {
#ifdef WIN32 #ifdef WIN32
# if (defined(_MSC_VER) && _MSC_VER >= 1400)
Sleep(2);
# else
_sleep(2); _sleep(2);
# endif
if (!sniff_request_processed) if (!sniff_request_processed)
ProcessSniffRequests(); ProcessSniffRequests();
#else #else

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
837,
/**/ /**/
836, 836,
/**/ /**/