summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-12 14:17:13 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-12 14:17:13 (GMT)
commit5bed08a06d34262c5a0bd4ad985a47705eba115e (patch)
tree9118d20c5f5f7018b649676526fac9a13767c084 /Source
parent0011abeab04614ff26a555d067fb7c00bc898c11 (diff)
parenta234bcafd2487ff348546addd9d07f5c74549528 (diff)
downloadCMake-5bed08a06d34262c5a0bd4ad985a47705eba115e.zip
CMake-5bed08a06d34262c5a0bd4ad985a47705eba115e.tar.gz
CMake-5bed08a06d34262c5a0bd4ad985a47705eba115e.tar.bz2
Merge branch 'kwsys-SystemInformation-AIX-_SC_AIX_REALMEM' into release
Diffstat (limited to 'Source')
-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 84b5f39..c4aeb47 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)
{