Mercurial > vim
changeset 2567:6931da037310 vim73
Do include Mac clipboard code for MacVim.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 15 Aug 2010 12:57:37 +0200 |
parents | f718404597a6 |
children | 1ead15c2ffd0 |
files | src/os_macosx.m |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_macosx.m +++ b/src/os_macosx.m @@ -22,9 +22,10 @@ /* * Clipboard support for the console. * Don't include this when building the GUI version, the functions in - * gui_mac.c are used then. + * gui_mac.c are used then. TODO: remove those instead? + * But for MacVim we need these ones. */ -#if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI) +#if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI) || defined(FEAT_GUI_MACVIM)) /* Used to identify clipboard data copied from Vim. */