X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_MemoryLimit.cxx;h=3086a8f7b887cd3966e3702cfc2168dce071da57;hp=c254b50ba6234008ba8ab3cd04f71a5728380c57;hb=4e4625e956d1c112e71ed8fa8d8df5a0e9e0a3b3;hpb=7eda9ca931ed2a11cb5e4637e4ffe19f5c061115 diff --git a/src/SMDS/SMDS_MemoryLimit.cxx b/src/SMDS/SMDS_MemoryLimit.cxx index c254b50ba..3086a8f7b 100644 --- a/src/SMDS/SMDS_MemoryLimit.cxx +++ b/src/SMDS/SMDS_MemoryLimit.cxx @@ -25,7 +25,7 @@ // This is not done inside a function of SALOME because allocated memory is not always // returned to the system. (PAL16631) // -#ifndef WIN32 +#if !defined WIN32 && !defined __APPLE__ #include #endif @@ -36,7 +36,7 @@ int main (int argc, char ** argv) { // To better understand what is going on here, consult bug [SALOME platform 0019911] -#ifndef WIN32 +#if !defined WIN32 && !defined __APPLE__ struct sysinfo si; int err = sysinfo( &si ); if ( err )