From: ana Date: Thu, 8 Dec 2016 13:45:32 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_2_0rc2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=refs%2Fheads%2FV8_2_BR Windows compatibility --- 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;