From db78f3625cd06f5ffa06fa137487b7ca2f618e8c Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 8 Dec 2016 12:27:39 +0300 Subject: [PATCH] Keep compatibility with ParaView-5.0.1 --- src/SMDS/SMDS_UnstructuredGrid.hxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/SMDS/SMDS_UnstructuredGrid.hxx b/src/SMDS/SMDS_UnstructuredGrid.hxx index 7750a4b81..4ea6c6418 100644 --- a/src/SMDS/SMDS_UnstructuredGrid.hxx +++ b/src/SMDS/SMDS_UnstructuredGrid.hxx @@ -45,6 +45,13 @@ // 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; +#endif + + class SMDS_Downward; class SMDS_Mesh; class SMDS_MeshCell; -- 2.30.2