To: vim_dev@googlegroups.com Subject: Patch 7.4.2171 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2171 (after 7.4.2170) Problem: MS-Windows build fails. Solution: Add QueryPerformanceCounter(). Files: src/ex_cmds2.c *** ../vim-7.4.2170/src/ex_cmds2.c 2016-08-06 22:04:44.278311247 +0200 --- src/ex_cmds2.c 2016-08-06 22:25:47.164288749 +0200 *************** *** 1259,1264 **** --- 1259,1267 ---- dictitem_T *di; long remaining; proftime_T now; + # ifdef WIN3264 + LARGE_INTEGER fr; + #endif if (dict == NULL) return; *************** *** 1269,1274 **** --- 1272,1278 ---- profile_start(&now); # ifdef WIN3264 + QueryPerformanceFrequency(&fr); remaining = (long)(((double)(timer->tr_due.QuadPart - now.QuadPart) / (double)fr.QuadPart) * 1000); # else *** ../vim-7.4.2170/src/version.c 2016-08-06 22:04:44.286311184 +0200 --- src/version.c 2016-08-06 22:27:01.355695768 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2171, /**/ -- BEDEVERE: Why do you think she is a witch? SECOND VILLAGER: She turned me into a newt. BEDEVERE: A newt? SECOND VILLAGER: (After looking at himself for some time) I got better. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///