From eae69d8712b6ef30a734d44d9a8f6777e5c4becd Mon Sep 17 00:00:00 2001 From: ana Date: Thu, 8 Dec 2016 16:45:32 +0300 Subject: [PATCH] Windows compatibility --- src/SMDS/SMDS_UnstructuredGrid.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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; -- 2.30.2