Salome HOME
Windows compatibility
[modules/smesh.git] / src / SMDS / SMDS_UnstructuredGrid.hxx
index 4ea6c64189add089bef00be29d08a6266c12b870..5936e9759d70ad06f890330e8c93c2cf5be0a93f 100644 (file)
 // allow very huge polyhedrons in tests
 #define NBMAXNODESINCELL 5000
 
 // allow very huge polyhedrons in tests
 #define NBMAXNODESINCELL 5000
 
-// Keep compatibility with paraview 5.0.1
-#ifndef VTK_HAS_MTIME_TYPE
-#define VTK_HAS_MTIME_TYPE
-typedef unsigned long int vtkMTimeType;
+// Keep compatibility with paraview 5.0.1 on Linux
+#ifndef WIN32
+  #ifndef VTK_HAS_MTIME_TYPE
+  #define VTK_HAS_MTIME_TYPE
+  typedef unsigned long int vtkMTimeType;
+  #endif
 #endif
 
 #endif
 
-
 class SMDS_Downward;
 class SMDS_Mesh;
 class SMDS_MeshCell;
 class SMDS_Downward;
 class SMDS_Mesh;
 class SMDS_MeshCell;