forked from aniani/vim
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
|
||||
{
|
||||
#ifdef WIN32
|
||||
# if (defined(_MSC_VER) && _MSC_VER >= 1400)
|
||||
Sleep(2);
|
||||
# else
|
||||
_sleep(2);
|
||||
# endif
|
||||
if (!sniff_request_processed)
|
||||
ProcessSniffRequests();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user