mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +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 )
|
||||
|
||||
// macros to export static field in class
|
||||
#if (defined(_WIN32) || defined(__WIN32__))
|
||||
#ifdef __IVtkVTK_DLL
|
||||
#define IVtkVTK_EXPORT __declspec(dllexport)
|
||||
#ifndef IVtkVTK_EXPORT
|
||||
#ifdef _WIN32
|
||||
#ifdef __IVtkVTK_DLL
|
||||
#define IVtkVTK_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define IVtkVTK_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define IVtkVTK_EXPORT __declspec(dllimport)
|
||||
#define IVtkVTK_EXPORT
|
||||
#endif
|
||||
#else
|
||||
#define IVtkVTK_EXPORT
|
||||
#endif
|
||||
|
||||
//! @class IVtkVTK_ShapeData
|
||||
|
Loading…
x
Reference in New Issue
Block a user