| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.837 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| 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 |
| |
| |
| |
| |
| |
| *** 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 |
| |
| |
| |
| *** 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 -- Bram@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 /// |