NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkNVAPIWin32ExportHeader.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 #ifndef niftkNVAPIWin32ExportHeader_h
15 #define niftkNVAPIWin32ExportHeader_h
16 
17 #include <NifTKConfigure.h>
18 
19 #if (defined(_WIN32) || defined(WIN32)) && !defined(NIFTK_STATIC)
20  #ifdef NIFTKNVAPI_WINDOWS_EXPORT
21  #define NIFTKNVAPI_WINEXPORT __declspec(dllexport)
22  #else
23  #define NIFTKNVAPI_WINEXPORT __declspec(dllimport)
24  #endif /* NIFTKNVAPI_WINEXPORT */
25 #else
26 /* linux/mac needs nothing */
27  #define NIFTKNVAPI_WINEXPORT
28 #endif
29 
30 
31 #endif //__NIFTKNVIDIAWIN32EXPORTHEADER_H