VTK
dox/Common/Core/vtkABI.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkABI.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00044 #ifndef __vtkABI_h
00045 #define __vtkABI_h
00046 
00047 #if defined(_WIN32)
00048 # define VTK_ABI_IMPORT __declspec(dllimport)
00049 # define VTK_ABI_EXPORT __declspec(dllexport)
00050 # define VTK_ABI_HIDDEN
00051 #elif __GNUC__ >= 4
00052 # define VTK_ABI_IMPORT __attribute__ ((visibility("default")))
00053 # define VTK_ABI_EXPORT __attribute__ ((visibility("default")))
00054 # define VTK_ABI_HIDDEN __attribute__ ((visibility("hidden")))
00055 #else
00056 # define VTK_ABI_IMPORT
00057 # define VTK_ABI_EXPORT
00058 # define VTK_ABI_HIDDEN
00059 #endif
00060 
00061 #endif // __vtkABI_h
00062 // VTK-HeaderTest-Exclude: vtkABI.h