VTK
vtkBridgeExport.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBridgeExport.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkBridgeExport_h
23 #define vtkBridgeExport_h
25 #include "vtkSystemIncludes.h"
26 
27 #if 1
28 # define VTK_BRIDGE_EXPORT
29 #else
30 
31 #if defined(WIN32) && defined(VTK_BUILD_SHARED_LIBS)
32 
33  #if defined(vtkBridge_EXPORTS)
34  #define VTK_BRIDGE_EXPORT __declspec( dllexport )
35  #else
36  #define VTK_BRIDGE_EXPORT __declspec( dllimport )
37  #endif
38 #else
39  #define VTK_BRIDGE_EXPORT
40 #endif
41 
42 #endif //#if 1
43 
44 #endif
45 
46 // VTK-HeaderTest-Exclude: vtkBridgeExport.h