]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Windows compatibility V8_2_BR rnv/pv5_0_1_compatibility_for_v8_2_0 V8_2_0 V8_2_0rc2
authorana <ana@opencascade.com>
Thu, 8 Dec 2016 13:45:32 +0000 (16:45 +0300)
committerana <ana@opencascade.com>
Thu, 8 Dec 2016 13:45:32 +0000 (16:45 +0300)
src/SMDS/SMDS_UnstructuredGrid.hxx

index 4ea6c64189add089bef00be29d08a6266c12b870..5936e9759d70ad06f890330e8c93c2cf5be0a93f 100644 (file)
 // 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;