To: vim-dev@vim.org Subject: Patch 6.1.410 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.410 (depends on 6.1.390) Problem: Linking error when compiling with Netbeans but without sign icons. (Malte Neumann) Solution: Don't define buf_signcount() when sign icons are unavailable. Files: src/buffer.c *** ../vim61.409/src/buffer.c Sat Mar 15 22:05:44 2003 --- src/buffer.c Tue Mar 18 14:11:21 2003 *************** *** 4649,4654 **** --- 4649,4655 ---- } + # if defined(FEAT_SIGN_ICONS) || defined(PROTO) /* return the number of icons on the given line */ int buf_signcount(buf, lnum) *************** *** 4665,4670 **** --- 4666,4672 ---- return count; } + # endif /* FEAT_SIGN_ICONS */ # endif /* FEAT_NETBEANS_INTG */ *** ../vim61.409/src/version.c Mon Mar 17 21:59:02 2003 --- src/version.c Tue Mar 18 14:13:28 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 410, /**/ -- hundred-and-one symptoms of being an internet addict: 110. You actually volunteer to become your employer's webmaster. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///