-
Notifications
You must be signed in to change notification settings - Fork 21
/
vtkAddonExport.h
38 lines (28 loc) · 1.04 KB
/
vtkAddonExport.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
/// vtkAddonExport
///
/// The vtkAddonExport captures some system differences between Unix
/// and Windows operating systems.
#ifndef __vtkAddonExport_h
#define __vtkAddonExport_h
#include <vtkAddonConfigure.h>
#if defined(_WIN32) && !defined(VTKADDON_STATIC)
#if defined(vtkAddon_EXPORTS)
#define VTK_ADDON_EXPORT __declspec( dllexport )
#else
#define VTK_ADDON_EXPORT __declspec( dllimport )
#endif
#else
#define VTK_ADDON_EXPORT
#endif
#endif