Salome HOME
Windows compatibility rnv/pv5_0_1_compatibility_for_v8_2_0 V8_2_0 V8_2_0rc2
authorana <ana@opencascade.com>
Thu, 8 Dec 2016 13:44:58 +0000 (16:44 +0300)
committerana <ana@opencascade.com>
Thu, 8 Dec 2016 13:44:58 +0000 (16:44 +0300)
src/VTKViewer/VTKViewer.h

index 739f3ab22be604a3a3c6344b47ba375e74723aa9..96f577562396f7ec9655b6182bf3194a8fc3bed7 100755 (executable)
 
 #endif
 
-// 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