mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0027864: Add vtk support to products java wrapper
Fix redefinition IVtkVTK_EXPORT error during wrapping in products java sample. Removed defined(__WIN32__)
This commit is contained in:
parent
90b858262b
commit
fe4fc02d7b
@ -26,14 +26,16 @@ class IVtkVTK_ShapeData;
|
|||||||
DEFINE_STANDARD_HANDLE( IVtkVTK_ShapeData, IVtk_IShapeData )
|
DEFINE_STANDARD_HANDLE( IVtkVTK_ShapeData, IVtk_IShapeData )
|
||||||
|
|
||||||
// macros to export static field in class
|
// macros to export static field in class
|
||||||
#if (defined(_WIN32) || defined(__WIN32__))
|
#ifndef IVtkVTK_EXPORT
|
||||||
#ifdef __IVtkVTK_DLL
|
#ifdef _WIN32
|
||||||
#define IVtkVTK_EXPORT __declspec(dllexport)
|
#ifdef __IVtkVTK_DLL
|
||||||
|
#define IVtkVTK_EXPORT __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define IVtkVTK_EXPORT __declspec(dllimport)
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define IVtkVTK_EXPORT __declspec(dllimport)
|
#define IVtkVTK_EXPORT
|
||||||
#endif
|
#endif
|
||||||
#else
|
|
||||||
#define IVtkVTK_EXPORT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//! @class IVtkVTK_ShapeData
|
//! @class IVtkVTK_ShapeData
|
||||||
|
Loading…
x
Reference in New Issue
Block a user