Patch 7.0.236
commitb39b5a70aef6fadaec27a36ef6b097992390c544
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Tue, 1 May 2007 14:24:36 +0000 (1 14:24 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Tue, 1 May 2007 14:24:36 +0000 (1 14:24 +0000)
tree1277fc01a14bdfaf605713df23dff160900e59bc
parent84eed8d399810f85cb9afeab82a0887307df6a29
Patch 7.0.236
Problem:    Linux 2.4 uses sysinfo() with a mem_unit field, which is not
    backwards compatible.
Solution:   Add an autoconf check for sysinfo.mem_unit.  Let mch_total_mem()
    return Kbyte to avoid overflow.
Files:     src/auto/configure, src/configure.in, src/config.h.in,
    src/option.c, src/os_unix.c

git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/vim7@254 2a77ed30-b011-0410-a7ad-c7884a0aa172
src/auto/configure
src/config.h.in
src/configure.in
src/option.c
src/os_unix.c
src/version.c