mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.1.0254: cannot build on MS-Windows; unused macro HAVE_HANDLE_DROP
Problem: Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP. Solution: Adjust #ifdef. Delete the macro.
This commit is contained in:
@@ -706,7 +706,7 @@ vim_main2(void)
|
||||
scroll_region_reset(); /* In case Rows changed */
|
||||
scroll_start(); /* may scroll the screen to the right position */
|
||||
|
||||
#ifdef FEAT_TITLE
|
||||
#if defined(FEAT_TITLE) && (defined(UNIX) || defined(VMS) || defined(MACOS_X))
|
||||
term_push_title(SAVE_RESTORE_BOTH);
|
||||
#endif
|
||||
|
||||
|
@@ -794,6 +794,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
254,
|
||||
/**/
|
||||
253,
|
||||
/**/
|
||||
|
@@ -2548,13 +2548,6 @@ typedef enum {
|
||||
#define TERM_START_FORCEIT 2
|
||||
#define TERM_START_SYSTEM 4
|
||||
|
||||
#if defined(HAVE_DROP_FILE) \
|
||||
|| (defined(FEAT_GUI_GTK) && defined(FEAT_DND)) \
|
||||
|| defined(FEAT_GUI_MSWIN) \
|
||||
|| defined(FEAT_GUI_MAC)
|
||||
# define HAVE_HANDLE_DROP
|
||||
#endif
|
||||
|
||||
// Used for icon/title save and restore.
|
||||
#define SAVE_RESTORE_TITLE 1
|
||||
#define SAVE_RESTORE_ICON 2
|
||||
|
Reference in New Issue
Block a user