Odil
A C++11 library for the DICOM standard
odil.h
Go to the documentation of this file.
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _b9c5b481_c291_4d87_b721_1e19d577d5e4
10 #define _b9c5b481_c291_4d87_b721_1e19d577d5e4
11 
12 #ifdef WIN32
13 # define EXPORT_DYNAMIC_LIBRARY __declspec(dllexport)
14 # define IMPORT_DYNAMIC_LIBRARY __declspec(dllimport)
15 // disable warning: 'identifier': class 'type' needs to have dll-interface to be
16 // used by clients of class 'type2'
17 // disable warning: non - DLL-interface classkey 'identifier' used as base for
18 // DLL-interface classkey 'identifier'
19 #pragma warning( disable : 4251 4275 )
20 #else // WIN32
21 # define EXPORT_DYNAMIC_LIBRARY
22 # define IMPORT_DYNAMIC_LIBRARY
23 #endif // WIN32
24 
25 #ifdef BUILDING_ODIL
26 # define ODIL_API EXPORT_DYNAMIC_LIBRARY
27 #else // BUILDING_ODIL
28 # define ODIL_API IMPORT_DYNAMIC_LIBRARY
29 #endif // BUILDING_ODIL
30 
31 #endif // _b9c5b481_c291_4d87_b721_1e19d577d5e4