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 =========================================================================*/
44 #ifndef vtkABI_h
45 #define vtkABI_h
46 
47 #if defined(_WIN32)
48 # define VTK_ABI_IMPORT __declspec(dllimport)
49 # define VTK_ABI_EXPORT __declspec(dllexport)
50 # define VTK_ABI_HIDDEN
51 #elif __GNUC__ >= 4
52 # define VTK_ABI_IMPORT __attribute__ ((visibility("default")))
53 # define VTK_ABI_EXPORT __attribute__ ((visibility("default")))
54 # define VTK_ABI_HIDDEN __attribute__ ((visibility("hidden")))
55 #else
56 # define VTK_ABI_IMPORT
57 # define VTK_ABI_EXPORT
58 # define VTK_ABI_HIDDEN
59 #endif
60 
61 #endif // vtkABI_h
62 // VTK-HeaderTest-Exclude: vtkABI.h