summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-29 21:01:10 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-29 21:01:10 +0200
commit83a2a80d6f699ad9a236431170038698e355c025 (patch)
tree30b26cbe339f6f112eded09cffd52df2003edfa8 /src/vim.h
parentf2c4c391192cab6e923b1a418d4af09106fba25f (diff)
downloadvim-git-83a2a80d6f699ad9a236431170038698e355c025.tar.gz
patch 7.4.2118v7.4.2118
Problem: Mac: can't build with tiny features. Solution: Don't define FEAT_CLIPBOARD unconditionally. (Kazunobu Kuriyama)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vim.h b/src/vim.h
index 498078a4d..b7855270e 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -98,11 +98,11 @@
# ifndef HAVE_CONFIG_H
# define UNIX
# endif
-# ifndef FEAT_CLIPBOARD
+# if defined(FEAT_SMALL) && !defined(FEAT_CLIPBOARD)
# define FEAT_CLIPBOARD
-# if defined(FEAT_SMALL) && !defined(FEAT_MOUSE)
-# define FEAT_MOUSE
-# endif
+# endif
+# if defined(FEAT_SMALL) && !defined(FEAT_MOUSE)
+# define FEAT_MOUSE
# endif
#endif
#if defined(MACOS_X) || defined(MACOS_CLASSIC)