summaryrefslogtreecommitdiff
path: root/src/os_macosx.m
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-15 12:57:37 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-15 12:57:37 +0200
commit10d4664330b9379d5a54aa60c80c8069f73d822c (patch)
tree5d6a955c97dff516837db3f43131547f04733679 /src/os_macosx.m
parentabf39e880d328c076adcba2ff368f0354b2cbe64 (diff)
downloadvim-git-10d4664330b9379d5a54aa60c80c8069f73d822c.tar.gz
Do include Mac clipboard code for MacVim.
Diffstat (limited to 'src/os_macosx.m')
-rw-r--r--src/os_macosx.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m
index 08997e562..4ad8d26a8 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. */