From f944e5102292df88f2ed7ab6b2a1dffd763b37ce Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 10 Apr 2006 07:10:22 +0000 Subject: [PATCH] To provide compatibility between VTK 4.2.2, 4.2.6 & 4.4 versions --- src/VTKViewer/VTKViewer.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/VTKViewer/VTKViewer.h b/src/VTKViewer/VTKViewer.h index 91ccbd2e9..a4b51d18c 100755 --- a/src/VTKViewer/VTKViewer.h +++ b/src/VTKViewer/VTKViewer.h @@ -30,4 +30,11 @@ # define VTKVIEWER_EXPORT #endif +#include + +#if !defined(vtkFloatingPointType) +# define vtkFloatingPointType vtkFloatingPointType + typedef float vtkFloatingPointType; +#endif + #endif -- 2.39.2