From d35d6067b64f5e3bcec36f1a1c357fedd4116913 Mon Sep 17 00:00:00 2001 From: ana Date: Thu, 8 Dec 2016 16:44:58 +0300 Subject: [PATCH] Windows compatibility --- src/VTKViewer/VTKViewer.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.2