diff src/gui_w32.c @ 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 54cfe888c627
children 441298d72f3c
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();