${SMESH_SMESHimpl}
${SMESH_SMESHEngine}
${SMESH_StdMeshersEngine}
+ ${SMESH_MeshDriverGMF}
${SMESH_SMDS}
${SMESH_SMESHDS}
${SMESH_SalomeIDLSMESH}
${SMESH_SMESHUtils}
${KERNEL_SalomeGenericObj}
- ${KERNEL_SALOMELocalTrace}
+ ${KERNEL_SALOMELocalTrace}
SalomeIDLHexoticPLUGIN
)
#include <sys/sysinfo.h>
#else
#include <errno.h>
+#include <process.h>
#endif
#ifdef _DEBUG_
Tmp_dir = getenv("TEMP");
if( Tmp_dir== NULL )
Tmp_dir = getenv("TMP");
+ }
#endif
if(Tmp_dir != NULL) {
aSuffix += "_";
aSuffix += Kernel_Utils::GetHostname().c_str();
aSuffix += "_";
+#ifndef WIN32
aSuffix += getpid();
+#else
+ aSuffix += _getpid();
+#endif
return aSuffix;
}
// If the traingles share a Vertex and no Edge the distance of the mass centers
// to the Vertices is 2*D < S so the mass centers are distant of less than 2*S
- double threshold = sqrt( 3 ) * theSize;
+ double threshold = sqrt( 3. ) * theSize;
if ( (p1.Distance(p2) > threshold ||
p2.Distance(p3) > threshold ||
void HexoticPlugin_Hexotic::CancelCompute()
{
_compute_canceled = true;
-#ifdef WNT
+#ifdef WIN32
#else
TCollection_AsciiString aTmpDir = getTmpDir();
TCollection_AsciiString Hexotic_In = aTmpDir + "Hexotic_In.mesh";