From eff4ffe995bce4353942a26744cef25e0c5a0709 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Sun, 15 Jul 2007 16:47:55 +0000 Subject: [PATCH] win32 compile++ svn path=/trunk/KDE/kdegraphics/okular/; revision=688272 --- core/document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/document.cpp b/core/document.cpp index babcc4a3e..8c22ae48c 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -382,9 +382,9 @@ qulonglong DocumentPrivate::getFreeMemory() return ( cachedValue = (1024 * memoryFree) ); #elif defined(Q_OS_WIN) - MEMORYSTATUS stat; + MEMORYSTATUSEX stat; - GlobalMemoryStatus (&stat); + GlobalMemoryStatusEx (&stat); return stat.ullAvailPhys; #else -- GitLab