apply workaround from Debian to fix error message with not found SMDS_MemoryLimit

This commit is contained in:
wmayer
2016-07-19 12:13:08 +02:00
parent ac2546f965
commit 6823981551

View File

@@ -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
}
///////////////////////////////////////////////////////////////////////////////