From: apo Date: Mon, 10 Apr 2006 07:10:22 +0000 (+0000) Subject: To provide compatibility between VTK 4.2.2, 4.2.6 & 4.4 versions X-Git-Tag: T3_2_0b1_pre1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f944e5102292df88f2ed7ab6b2a1dffd763b37ce;p=modules%2Fgui.git To provide compatibility between VTK 4.2.2, 4.2.6 & 4.4 versions --- 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