diff options
author | Bram Moolenaar <bram@vim.org> | 2010-08-15 12:57:37 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2010-08-15 12:57:37 +0200 |
commit | 1aed538a6dd2f7c27c5272edfe05a54fe194e895 (patch) | |
tree | dc3897b3fe528235c399022250f32cf71bdbc435 | |
parent | 77034eb005506ed6e892c39d8291e513407cde19 (diff) | |
download | vim-1aed538a6dd2f7c27c5272edfe05a54fe194e895.tar.gz |
Do include Mac clipboard code for MacVim.
-rw-r--r-- | src/os_macosx.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m index 08997e56..4ad8d26a 100644 --- 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. */ |