summaryrefslogtreecommitdiff
path: root/src/os_win32.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-02 21:11:51 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-02 21:11:51 +0100
commitee2739787f1e996739541bb60e6003b892497e03 (patch)
treea1432705205c0e7ea65bdcc4162801e1f4cebc9e /src/os_win32.h
parentcbfe32953aea09d35d9ac7e5865c915b14e310c1 (diff)
downloadvim-git-ee2739787f1e996739541bb60e6003b892497e03.tar.gz
patch 7.4.1033v7.4.1033
Problem: Memory use on MS-Windows is very conservative. Solution: Use the global memory status to estimate amount of memory. (Mike Williams)
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index 8553910e3..a6ac89176 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -78,6 +78,8 @@
# define BREAKCHECK_SKIP 1 /* call mch_breakcheck() each time, it's fast */
#endif
+#define HAVE_TOTAL_MEM
+
#define HAVE_PUTENV /* at least Bcc 5.2 and MSC have it */
#ifdef FEAT_GUI_W32