summaryrefslogtreecommitdiff
path: root/src/os_macosx.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_macosx.m')
-rw-r--r--src/os_macosx.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m
index 34a701212..08997e562 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. */