Mike Williams wrote:

> On 18/12/2015 09:15, Ken Takata wrote:
> > 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
> 
> Bram - any comment on finally dropping 95 support?  As in Win32s (ah, 
> happy days) - I can no longer do builds or run them so cannot check the 
> effect.

I need Windows 95 to run my Monty Python game!  :-)

I suppose now that Windows XP is deprecated it's going to be hard to
find a working Windows 95 system.  That has enough memory to run today's
Vim.

> > use GlobalMemoryStatus() just for old compilers like this:
> >
> > #ifdef MEMORYSTATUSEX
> >   /* Use GlobalMemoryStatusEx() for recent compilers */
> > #else
> >   /* Use GlobalMemoryStatus() for old compilers */
> > #endif
> 
> Win2K does not support GlobalMemoryStatusEx().  The default Windows 
> build sets WINVER to 0x0400 to support Win2K compatible builds and this 
> excludes MEMORYSTATUSEX, so it is not new/compilers but old/new versions 
> of NT.
> 
> Attached is an updated patch to fix the memory values for NT in default 
> builds, and avoid a possible return of 0 bytes available!

Thanks.


-- 
       When danger reared its ugly head,
       He bravely turned his tail and fled
       Yes, Brave Sir Robin turned about
       And gallantly he chickened out
       Bravely taking to his feet
       He beat a very brave retreat
       Bravest of the brave Sir Robin
       Petrified of being dead
       Soiled his pants then brave Sir Robin
       Turned away and fled.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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.

Raspunde prin e-mail lui