Remove dependance to sysinfo

This commit is contained in:
Louis Gombert 2024-08-19 07:58:58 +00:00
parent a3243d0e6b
commit 91ef78b877

View File

@ -25,7 +25,7 @@
// This is not done inside a function of SALOME because allocated memory is not always
// returned to the system. (PAL16631)
//
#if !defined WIN32 && !defined __APPLE__
#if !defined WIN32 && !defined __APPLE__ && !defined __EMSCRIPTEN__
#include <sys/sysinfo.h>
#endif
@ -34,7 +34,7 @@
int main ()
{
// To better understand what is going on here, consult bug [SALOME platform 0019911]
#if !defined WIN32 && !defined __APPLE__
#if !defined WIN32 && !defined __APPLE__ && !defined __EMSCRIPTEN__
struct sysinfo si;
int err = sysinfo( &si );
if ( err )