changeset 8100:ae50910ce279 v7.4.1344

commit https://github.com/vim/vim/commit/203219048fa007b5042d9b893fd647aef44722a0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 17 12:30:17 2016 +0100 patch 7.4.1344 Problem: Can't compile Win32 GUI with tiny features. Solution: Add #ifdef. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Feb 2016 12:45:03 +0100
parents 88ba1f943c0d
children ace65a22f6cf
files src/gui_w32.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1670,6 +1670,7 @@ gui_mch_init(void)
     if (s_textArea == NULL)
 	return FAIL;
 
+#ifdef FEAT_LIBCALL
     /* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */
     {
 	HANDLE	hIcon = NULL;
@@ -1677,6 +1678,7 @@ gui_mch_init(void)
 	if (mch_icon_load(&hIcon) == OK && hIcon != NULL)
 	    SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
     }
+#endif
 
 #ifdef FEAT_MENU
     s_menuBar = CreateMenu();
--- a/src/version.c
+++ b/src/version.c
@@ -748,6 +748,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1344,
+/**/
     1343,
 /**/
     1342,