From: ana Date: Thu, 8 Dec 2016 13:44:58 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_2_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=004b459aac48487d5ea98fe9b0971f0fb7e9027b;p=modules%2Fgui.git Windows compatibility --- diff --git a/src/VTKViewer/VTKViewer.h b/src/VTKViewer/VTKViewer.h index 739f3ab22..96f577562 100755 --- a/src/VTKViewer/VTKViewer.h +++ b/src/VTKViewer/VTKViewer.h @@ -35,9 +35,11 @@ #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