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