Sfoglia il codice sorgente

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

Brad King 11 anni fa
parent
commit
5bed08a06d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
     {