mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
Remove dependance to sysinfo
This commit is contained in:
parent
a3243d0e6b
commit
91ef78b877
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user