apply workaround from Debian to fix error message with not found SMDS_MemoryLimit
This commit is contained in:
@@ -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
|
||||
@@ -126,6 +127,9 @@ int SMDS_Mesh::CheckMemory(const bool doNotRaise) throw (std::bad_alloc)
|
||||
return -1;
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
return 1000;
|
||||
#endif
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user