From 04d233d0566ce599d2aaf6ca2c7d5db5e0ff1dcb Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 5 Apr 2006 07:58:44 +0000 Subject: [PATCH] Porting on Mandriva 64 (to define vtkFloatingPointType) --- src/VTKViewer/VTKViewer.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/VTKViewer/VTKViewer.h b/src/VTKViewer/VTKViewer.h index 27934b610..0847acf55 100755 --- a/src/VTKViewer/VTKViewer.h +++ b/src/VTKViewer/VTKViewer.h @@ -17,11 +17,18 @@ // See http://www.salome-platform.org/ // #ifdef WNT -#ifdef VTKVIEWER_EXPORTS -#define VTKVIEWER_EXPORT __declspec( dllexport ) +# ifdef VTKVIEWER_EXPORTS +# define VTKVIEWER_EXPORT __declspec( dllexport ) +# else +# define VTKVIEWER_EXPORT __declspec( dllimport ) +# endif #else -#define VTKVIEWER_EXPORT __declspec( dllimport ) +# define VTKVIEWER_EXPORT #endif -#else -#define VTKVIEWER_EXPORT + +#include + +#if !defined(vtkFloatingPointType) +#define vtkFloatingPointType vtkFloatingPointType; +typedef float vtkFloatingPointType; #endif -- 2.39.2