Re: With patch 7.3.577 vim no longer builds with mingw
- View Sourceвоскресенье, 1 июля 2012 г., 15:49:46 UTC+4 пользователь ZyX написал:
> пятница, 29 июня 2012 г., 17:51:44 UTC+4 пользователь Bram Moolenaar написал:Ah, it is already being discussed in comments to patch 582.
> > Patch 7.3.577
> > Problem: Size of memory does not fit in 32 bit unsigned.
> > Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of
> > GlobalMemoryStatus() when available.
> To use MEMORYSTATUSEX with mingw cross-compiler (at least that one that can be installed on Gentoo) you must define _WIN32_WINNT macros with value greater or equal to 0x0500, in other case this structure won't be defined. I am unsure what is the proper fix as _WIN32_WINNT is already defined as 0x0400.
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