NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkCUDAKernelsWin32ExportHeader.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 niftkCUDAKernelsWin32ExportHeader_h
16 #define niftkCUDAKernelsWin32ExportHeader_h
17 
18 #if (defined(_WIN32) || defined(WIN32)) && !defined(NIFTK_STATIC)
19  #ifdef niftkCUDAKernels_EXPORTS
20  #define NIFTKCUDAKERNELS_WINEXPORT __declspec(dllexport)
21  #else
22  #define NIFTKCUDAKERNELS_WINEXPORT __declspec(dllimport)
23  #endif
24 #else
25 /* linux/mac needs nothing */
26  #define NIFTKCUDAKERNELS_WINEXPORT
27 #endif
28 
29 #endif