mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 525323 - Windows CE ux/perf regression between Alpha 2 and Beta 1.
This commit is contained in:
parent
89f1795be1
commit
62eb5c6518
@ -115,10 +115,13 @@ static const int kRequiredMemory = 0x3000000;
|
||||
NS_IMETHODIMP
|
||||
nsMemoryImpl::IsLowMemory(PRBool *result)
|
||||
{
|
||||
#if defined(WINCE)
|
||||
#if defined(WINCE_WINDOWS_MOBILE)
|
||||
MEMORYSTATUS stat;
|
||||
GlobalMemoryStatus(&stat);
|
||||
*result = (stat.dwMemoryLoad >= 98);
|
||||
#elif defined(WINCE)
|
||||
// Bug 525323 - GlobalMemoryStatus kills perf on WinCE.
|
||||
*result = PR_FALSE;
|
||||
#elif defined(XP_WIN)
|
||||
MEMORYSTATUSEX stat;
|
||||
stat.dwLength = sizeof stat;
|
||||
|
Loading…
Reference in New Issue
Block a user