NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkITKIOWin32ExportHeader.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkITKIOWin32ExportHeader_h
16 #define niftkITKIOWin32ExportHeader_h
17 
18 #include <NifTKConfigure.h>
19 
20 #if (defined(_WIN32) || defined(WIN32)) && !defined(NIFTK_STATIC)
21  #ifdef NIFTKITKIO_WINDOWS_EXPORT
22  #define NIFTKITKIO_WINEXPORT __declspec(dllexport)
23  #else
24  #define NIFTKITKIO_WINEXPORT __declspec(dllimport)
25  #endif /* NIFTKITKIO_WINEXPORT */
26 #else
27 /* linux/mac needs nothing */
28  #define NIFTKITKIO_WINEXPORT
29 #endif
30 
31 
32 #endif //__NIFTKITKWIN32EXPORTHEADER_H