itom
Loading...
Searching...
No Matches
addInMgrDefines.h
1/* ********************************************************************
2 itom software
3 URL: http://www.uni-stuttgart.de/ito
4 Copyright (C) 2020, Institut für Technische Optik (ITO),
5 University of Stuttgart, Germany
6
7 This file is part of itom and its software development toolkit (SDK).
8
9 itom is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Library General Public Licence as published by
11 the Free Software Foundation; either version 2 of the Licence, or (at
12 your option) any later version.
13
14 In addition, as a special exception, the Institut für Technische
15 Optik (ITO) gives you certain additional rights.
16 These rights are described in the ITO LGPL Exception version 1.0,
17 which can be found in the file LGPL_EXCEPTION.txt in this package.
18
19 itom is distributed in the hope that it will be useful, but
20 WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
22 General Public Licence for more details.
23
24 You should have received a copy of the GNU Library General Public License
25 along with itom. If not, see <http://www.gnu.org/licenses/>.
26*********************************************************************** */
27
28//#if (defined ITOMLIBS_SHARED && ( defined(_Windows) || defined(_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) ))
29#if (defined ITOMLIBS_SHARED)
30 #ifndef ADDINMGR_EXPORT
31
32 // Borland/Microsoft
33 #if defined(_MSC_VER) || defined(__BORLANDC__)
34 #if (_MSC_VER >= 800) || (__BORLANDC__ >= 0x500)
35 #else
36 #ifdef ADDINMGR_DLL
37 #define ADDINMGR_EXPORT __export
38 #else
39 #define ADDINMGR_EXPORT //__import doesn't exist AFAIK in VC++ Exists in Borland C++ for C++ classes (== huge)
40 #endif
41 #endif
42 #endif
43
44 #ifndef ADDINMGR_EXPORT //ADDINMGR_EXPORT has not be defined yet
45 #ifdef ADDINMGR_DLL
46 #if ( defined(_Windows) || defined(_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
47 #define ADDINMGR_EXPORT __declspec(dllexport)
48 #else
49 #define ADDINMGR_EXPORT
50 #endif
51 #else
52 #if ( defined(_Windows) || defined(_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
53 #define ADDINMGR_EXPORT __declspec(dllimport)
54 #else
55 #define ADDINMGR_EXPORT
56 #endif
57 #endif
58 #endif
59
60 #endif //ADDINMGR_EXPORT
61
62#endif //windows
63
64#ifndef ADDINMGR_EXPORT
65 #define ADDINMGR_EXPORT
66#endif