Browse Source

Merge branch 'kwsys-SystemInformation-AIX-_SC_AIX_REALMEM' into release

Brad King 11 years ago
parent
commit
5bed08a06d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/SystemInformation.cxx

+ 1 - 1
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)
     {