Mercurial > vim
comparison src/evalfunc.c @ 22854:eea4e7b67f24 v8.2.1974
patch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL
Commit: https://github.com/vim/vim/commit/29b281ba8ddf176ae34b22e6a9b8e0ddcbcce665
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 10 20:58:00 2020 +0100
patch 8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL
Problem: Vim9: test for has('gui_running') fails with VIMDLL.
Solution: Adjust the #ifdef. (Ken Takata, closes https://github.com/vim/vim/issues/7276)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Nov 2020 21:00:05 +0100 |
parents | 36fc73078bce |
children | a8bccb0634bc |
comparison
equal
deleted
inserted
replaced
22853:ea83a529434d | 22854:eea4e7b67f24 |
---|---|
5511 || (STRICMP(feature, "browse") == 0 && !gui.in_use) | 5511 || (STRICMP(feature, "browse") == 0 && !gui.in_use) |
5512 #endif | 5512 #endif |
5513 #ifdef VIMDLL | 5513 #ifdef VIMDLL |
5514 || STRICMP(feature, "filterpipe") == 0 | 5514 || STRICMP(feature, "filterpipe") == 0 |
5515 #endif | 5515 #endif |
5516 #if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) | 5516 #if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL) |
5517 // this can only change on Unix where the ":gui" command could be | 5517 // this can only change on Unix where the ":gui" command could be |
5518 // used. | 5518 // used. |
5519 || (STRICMP(feature, "gui_running") == 0 && !gui.in_use) | 5519 || (STRICMP(feature, "gui_running") == 0 && !gui.in_use) |
5520 #endif | 5520 #endif |
5521 #if defined(USE_ICONV) && defined(DYNAMIC_ICONV) | 5521 #if defined(USE_ICONV) && defined(DYNAMIC_ICONV) |