]> granicus.if.org Git - vim/commitdiff
Do include Mac clipboard code for MacVim.
authorBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2010 10:57:37 +0000 (12:57 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2010 10:57:37 +0000 (12:57 +0200)
src/os_macosx.m

index 08997e562f733bf09373dea0e5ec659717fe4bbe..4ad8d26a80dbeac0b3c70155f7129ccd6f34879a 100644 (file)
 /*
  * 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. */