commit | e00289df69c80e47e7352a62e0d1beaea2d20b46 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 14 21:56:42 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 14 21:56:42 2010 +0200 |
tree | 85807ff99fd334353d33c458695b87008147de5f | |
parent | 755bd26c59bc40322977da5674e6022c7ca65a9a [diff] [blame] |
Fix building the Mac version with GUI.
diff --git a/src/os_macosx.m b/src/os_macosx.m index 34a7012..08997e5 100644 --- 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. */