]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Porting on Mandriva 64 (to define vtkFloatingPointType)
authorapo <apo@opencascade.com>
Wed, 5 Apr 2006 07:58:44 +0000 (07:58 +0000)
committerapo <apo@opencascade.com>
Wed, 5 Apr 2006 07:58:44 +0000 (07:58 +0000)
src/VTKViewer/VTKViewer.h

index 27934b61047f1212e1520421e3bc25ab72d2d2d4..0847acf553d530f22f923c1ce1ef695f6c9b78aa 100755 (executable)
 // 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 <vtkSystemIncludes.h>
+
+#if !defined(vtkFloatingPointType)
+#define vtkFloatingPointType vtkFloatingPointType;
+typedef float vtkFloatingPointType;
 #endif