X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_UnstructuredGrid.hxx;h=5936e9759d70ad06f890330e8c93c2cf5be0a93f;hp=4ea6c64189add089bef00be29d08a6266c12b870;hb=eae69d8712b6ef30a734d44d9a8f6777e5c4becd;hpb=db78f3625cd06f5ffa06fa137487b7ca2f618e8c diff --git a/src/SMDS/SMDS_UnstructuredGrid.hxx b/src/SMDS/SMDS_UnstructuredGrid.hxx index 4ea6c6418..5936e9759 100644 --- a/src/SMDS/SMDS_UnstructuredGrid.hxx +++ b/src/SMDS/SMDS_UnstructuredGrid.hxx @@ -45,13 +45,14 @@ // 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 - class SMDS_Downward; class SMDS_Mesh; class SMDS_MeshCell;