summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-20 22:11:59 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-20 22:11:59 +0100
commit23c4f7183cca0ff8d2c5c2ef9a5c62f6307e07ea (patch)
treece8f77eb2e5246036ef53ce9d86bc709a4ee65ea /src/feature.h
parent17576a1e33d71b5602cee86bf220a806c8412605 (diff)
patch 7.4.1145v7.4.1145
Problem: Default features are conservative. Solution: Make the default feature set for most of todays systems "huge".
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/feature.h b/src/feature.h
index c2bf2605d8..5de0fcec38 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -54,19 +54,25 @@
#endif
/*
- * These executables are made available with the +big feature, because they
- * are supposed to have enough RAM: Win32 (console & GUI), dos32, OS/2 and VMS.
+ * For Unix, Mac and Win32 use +huge by default. These days CPUs are fast and
+ * Memory is cheap.
+ * Use +big for older systems: Other MS-Windows, dos32, OS/2 and VMS.
* The dos16 version has very little RAM available, use +small.
+ * Otherwise use +normal
*/
#if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \
&& !defined(FEAT_BIG) && !defined(FEAT_HUGE)
-# if defined(MSWIN) || defined(DJGPP) || defined(VMS) || defined(MACOS) || defined(AMIGA)
-# define FEAT_BIG
+# if defined(UNIX) || defined(WIN3264) || defined(MACOS)
+# define FEAT_HUGE
# else
-# ifdef MSDOS
-# define FEAT_SMALL
+# if defined(MSWIN) || defined(DJGPP) || defined(VMS) || defined(MACOS) || defined(AMIGA)
+# define FEAT_BIG
# else
-# define FEAT_NORMAL
+# ifdef MSDOS
+# define FEAT_SMALL
+# else
+# define FEAT_NORMAL
+# endif
# endif
# endif
#endif