mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.836
Problem: Clipboard does not work on Win32 when compiled with Cygwin. Solution: Move the Win32 clipboard code to a separate file and use it when building with os_unix.c. (Frodak Baksik, Ken Takata)
This commit is contained in:
@@ -61,6 +61,11 @@ static int selinux_enabled = -1;
|
||||
# include <cygwin/version.h>
|
||||
# include <sys/cygwin.h> /* for cygwin_conv_to_posix_path() and/or
|
||||
* for cygwin_conv_path() */
|
||||
# ifdef FEAT_CYGWIN_WIN32_CLIPBOARD
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# include <windows.h>
|
||||
# include "winclip.pro"
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -1223,6 +1228,9 @@ mch_init()
|
||||
#ifdef MACOS_CONVERT
|
||||
mac_conv_init();
|
||||
#endif
|
||||
#ifdef FEAT_CYGWIN_WIN32_CLIPBOARD
|
||||
win_clip_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user