Merge branch 'kwsys-SystemInformation-AIX-_SC_AIX_REALMEM' into release
This commit is contained in:
commit
5bed08a06d
|
@ -3913,7 +3913,7 @@ bool SystemInformationImplementation::QueryCygwinMemory()
|
||||||
|
|
||||||
bool SystemInformationImplementation::QueryAIXMemory()
|
bool SystemInformationImplementation::QueryAIXMemory()
|
||||||
{
|
{
|
||||||
#if defined(_AIX)
|
#if defined(_AIX) && defined(_SC_AIX_REALMEM)
|
||||||
long c = sysconf(_SC_AIX_REALMEM);
|
long c = sysconf(_SC_AIX_REALMEM);
|
||||||
if (c <= 0)
|
if (c <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue