Patch 7.4.837

20 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 25, 2015, 1:50:19 PM8/25/15
to vim...@googlegroups.com

Patch 7.4.837
Problem: Compiler warning with MSVC compiler when using +sniff.
Solution: Use Sleep() instead of _sleep(). (Tux)
Files: src/if_sniff.c


*** ../vim-7.4.836/src/if_sniff.c 2012-06-20 19:56:09.000000000 +0200
--- src/if_sniff.c 2015-08-25 19:49:03.289172373 +0200
***************
*** 655,661 ****
--- 655,665 ----
else
{
#ifdef WIN32
+ # if (defined(_MSC_VER) && _MSC_VER >= 1400)
+ Sleep(2);
+ # else
_sleep(2);
+ # endif
if (!sniff_request_processed)
ProcessSniffRequests();
#else
*** ../vim-7.4.836/src/version.c 2015-08-25 16:48:56.072640146 +0200
--- src/version.c 2015-08-25 19:48:21.269605069 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 837,
/**/

--
It is illegal for anyone to give lighted cigars to dogs, cats, and other
domesticated animal kept as pets.
[real standing law in Illinois, United States of America]

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages