From: apo Date: Wed, 5 Apr 2006 07:58:44 +0000 (+0000) Subject: Porting on Mandriva 64 (to define vtkFloatingPointType) X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04d233d0566ce599d2aaf6ca2c7d5db5e0ff1dcb;p=modules%2Fgui.git Porting on Mandriva 64 (to define vtkFloatingPointType) --- 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