From: ana Date: Thu, 8 Dec 2016 13:44:58 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_2_0rc2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d35d6067b64f5e3bcec36f1a1c357fedd4116913;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