summaryrefslogtreecommitdiffstats
path: root/SystemInformation.cxx
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2014-11-12 13:57:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-12 13:58:27 (GMT)
commit35ecc3553e5732ddfa8039ead56d02f002df76cf (patch)
treec7dfb205607a65a746763a630b26ff2f3d0bf8a4 /SystemInformation.cxx
parent72b5b48040ed65fdb54b8ffeb3326b456586b8c8 (diff)
downloadCMake-35ecc3553e5732ddfa8039ead56d02f002df76cf.zip
CMake-35ecc3553e5732ddfa8039ead56d02f002df76cf.tar.gz
CMake-35ecc3553e5732ddfa8039ead56d02f002df76cf.tar.bz2
KWSys 2014-11-12 (5843f590)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 5843f590 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 88c8cc7f..5843f590 Ben Boeckel (1): 5843f590 cmake: remove arguments to endfoo and else commands Ådne Hovda (1): 2e4a0ff0 SystemInformation: Check for _SC_AIX_REALMEM before using it Change-Id: Ifabcd50984d8b24f6034a17d729e255dfc591bbc
Diffstat (limited to 'SystemInformation.cxx')
-rw-r--r--SystemInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index d23c248..3e1a1ab 100644
--- a/SystemInformation.cxx
+++ b/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)
{