# HG changeset patch # User Christian Brabandt # Date 1440525605 -7200 # Node ID 2ebc20378f68f39b96ec6b3f1a57b55d71cc3638 # Parent bead547f5dc764313fdf0a08e5b98fdae0b1bd2a commit https://github.com/vim/vim/commit/80ce282107849ef1a0e9b8a3be26c59c211b0957 Author: Bram Moolenaar Date: Tue Aug 25 19:49:50 2015 +0200 patch 7.4.837 Problem: Compiler warning with MSVC compiler when using +sniff. Solution: Use Sleep() instead of _sleep(). (Tux) diff --git a/src/if_sniff.c b/src/if_sniff.c --- a/src/if_sniff.c +++ b/src/if_sniff.c @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 837, +/**/ 836, /**/ 835,