summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-12 13:58:42 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-12 13:58:42 (GMT)
commit75009e4bcd96dccc4ecfc12981ca89c330ea1765 (patch)
treebea325dd0d08149bd570e1d309605a9c424bf1fc /Source/kwsys/SystemInformation.cxx
parentf476b41fd8a92c7784a84059f615fdf8155d687e (diff)
parent35ecc3553e5732ddfa8039ead56d02f002df76cf (diff)
downloadCMake-75009e4bcd96dccc4ecfc12981ca89c330ea1765.zip
CMake-75009e4bcd96dccc4ecfc12981ca89c330ea1765.tar.gz
CMake-75009e4bcd96dccc4ecfc12981ca89c330ea1765.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index d23c248..3e1a1ab 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -3913,7 +3913,7 @@ bool SystemInformationImplementation::QueryCygwinMemory()
bool SystemInformationImplementation::QueryAIXMemory()
{
-#if defined(_AIX)
+#if defined(_AIX) && defined(_SC_AIX_REALMEM)
long c = sysconf(_SC_AIX_REALMEM);
if (c <= 0)
{