diff src/os_macosx.m @ 2565:4b7929dad28a vim73

Fix building the Mac version with GUI.
author Bram Moolenaar <bram@vim.org>
date Sat, 14 Aug 2010 21:56:42 +0200
parents 2e6dbc2fccd4
children 6931da037310
line wrap: on
line diff
--- a/src/os_macosx.m
+++ b/src/os_macosx.m
@@ -19,7 +19,12 @@
 #import <Cocoa/Cocoa.h>
 
 
-#ifdef FEAT_CLIPBOARD
+/*
+ * Clipboard support for the console.
+ * Don't include this when building the GUI version, the functions in
+ * gui_mac.c are used then.
+ */
+#if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
 
 /* Used to identify clipboard data copied from Vim. */