VTK
vtkABI.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkABI.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 =========================================================================*/
43 #ifndef vtkABI_h
44 #define vtkABI_h
45 
46 #if defined(_WIN32)
47 # define VTK_ABI_IMPORT __declspec(dllimport)
48 # define VTK_ABI_EXPORT __declspec(dllexport)
49 # define VTK_ABI_HIDDEN
50 #elif __GNUC__ >= 4
51 # define VTK_ABI_IMPORT __attribute__ ((visibility("default")))
52 # define VTK_ABI_EXPORT __attribute__ ((visibility("default")))
53 # define VTK_ABI_HIDDEN __attribute__ ((visibility("hidden")))
54 #else
55 # define VTK_ABI_IMPORT
56 # define VTK_ABI_EXPORT
57 # define VTK_ABI_HIDDEN
58 #endif
59 
60 #endif // vtkABI_h
61 // VTK-HeaderTest-Exclude: vtkABI.h