Hi Mike, 2015/12/18 Fri 17:45:27 UTC+9 Mike Williams wrote: > Attached is a patch that sets the maxmem options at startup on Windows > OSes based on reported memory availability. It uses a simple heuristic > to derive a value to use. The checks for limited memory systems from > the dark ages of last century may not be ideal, if anyone is still > nursing such a system it would be nice to try the patch on it to see if > the reserve numbers need to be tweaked.
I think we can drop support for win9x. But (if needed) we can still use GlobalMemoryStatus() just for old compilers like this: #ifdef MEMORYSTATUSEX /* Use GlobalMemoryStatusEx() for recent compilers */ #else /* Use GlobalMemoryStatus() for old compilers */ #endif Regards, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
