mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14: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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user