#include "MED_GaussUtils.hxx"
#include "MED_Utilities.hxx"
+#include "SALOMEconfig.h"
+
#if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
#define NO_CAS_CATCH
#endif
VISU::TEntity aVEntity = MEDEntityToVTK(aMEntity);
vtkIdType aDataType = VTK_DOUBLE;
- if(aFieldInfo->GetType() != MED::eFLOAT64)
+ if(aFieldInfo->GetType() != MED::eFLOAT64){
+#if defined(SUN4SOL2) || defined(PCLINUX) || defined(PPRO_NT) || defined(PCLINUX64_32) || defined(OSF1_32) || defined(IRIX64_32) || defined(RS6000) || defined(HP9000)
aDataType = VTK_INT;
+#endif
+#if defined(IRIX64) || defined(OSF1) || defined(PCLINUX64)
+ aDataType = VTK_LONG;
+#endif
+ }
VISU::PMEDMeshOnEntity aMeshOnEntity = theMesh->myMeshOnEntityMap[aVEntity];
VISU::TFieldMap& aFieldMap = aMeshOnEntity->myFieldMap;
VISU::PMEDField aField = aFieldMap[aFieldName](new VISU::TMEDField());