Skip to content

Commit

Permalink
apply workaround from Debian to fix error message with not found SMDS…
Browse files Browse the repository at this point in the history
…_MemoryLimit
  • Loading branch information
wwmayer committed Jul 19, 2016
1 parent 4aa23dd commit 99bdef7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp
Expand Up @@ -80,6 +80,7 @@ int SMDS_Mesh::chunkSize = 1024;

int SMDS_Mesh::CheckMemory(const bool doNotRaise) throw (std::bad_alloc)
{
#if 0
#if (defined(__MACH__) && defined(__APPLE__))
return 1000;
#else
Expand Down Expand Up @@ -126,6 +127,9 @@ int SMDS_Mesh::CheckMemory(const bool doNotRaise) throw (std::bad_alloc)
return -1;
#endif
#endif
#else
return 1000;
#endif
}

///////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 99bdef7

Please sign in to comment.