]> granicus.if.org Git - vim/commitdiff
patch 8.1.0254: cannot build on MS-Windows; unused macro HAVE_HANDLE_DROP v8.1.0254
authorBram Moolenaar <Bram@vim.org>
Tue, 7 Aug 2018 20:42:53 +0000 (22:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 7 Aug 2018 20:42:53 +0000 (22:42 +0200)
Problem:    Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP.
Solution:   Adjust #ifdef. Delete the macro.

src/main.c
src/version.c
src/vim.h

index b8390508d32d10990d2a30f5b7f738f7b495899e..d3a509be3fb7a57d1b40e2cbbf12e0f1f7f98b12 100644 (file)
@@ -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
 
index 8b01248209ee9db80f13354813f0b3f5ca7f8830..099ea1fa281f974ba7bca67b1b80b916e0a12dbc 100644 (file)
@@ -794,6 +794,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    254,
 /**/
     253,
 /**/
index 524ed921325e2fae83450de427b58e83a3aa6708..5166f533c4ea03fa4c6af4b545f71199b73f39c3 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
@@ -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