itom 1.4.0
|
00001 /* ******************************************************************** 00002 itom software 00003 URL: http://www.uni-stuttgart.de/ito 00004 Copyright (C) 2013, Institut für Technische Optik (ITO), 00005 Universität Stuttgart, Germany 00006 00007 This file is part of itom and its software development toolkit (SDK). 00008 00009 itom is free software; you can redistribute it and/or modify it 00010 under the terms of the GNU Library General Public Licence as published by 00011 the Free Software Foundation; either version 2 of the Licence, or (at 00012 your option) any later version. 00013 00014 In addition, as a special exception, the Institut für Technische 00015 Optik (ITO) gives you certain additional rights. 00016 These rights are described in the ITO LGPL Exception version 1.0, 00017 which can be found in the file LGPL_EXCEPTION.txt in this package. 00018 00019 itom is distributed in the hope that it will be useful, but 00020 WITHOUT ANY WARRANTY; without even the implied warranty of 00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library 00022 General Public Licence for more details. 00023 00024 You should have received a copy of the GNU Library General Public License 00025 along with itom. If not, see <http://www.gnu.org/licenses/>. 00026 *********************************************************************** */ 00027 00028 #if (defined ITOMLIBS_SHARED && ( defined(_Windows) || defined(_WINDOWS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) )) 00029 00030 #ifndef DATAOBJ_EXPORT 00031 00032 /* Borland/Microsoft */ 00033 #if defined(_MSC_VER) || defined(__BORLANDC__) 00034 #if (_MSC_VER >= 800) || (__BORLANDC__ >= 0x500) 00035 #else 00036 #ifdef DATAOBJECT_DLL 00037 #define DATAOBJ_EXPORT __export 00038 #else 00039 #define DATAOBJ_EXPORT /*__import */ /* doesn't exist AFAIK in VC++ */ 00040 #endif /* Exists in Borland C++ for 00041 C++ classes (== huge) */ 00042 #endif 00043 #endif 00044 00045 #ifndef DATAOBJ_EXPORT //DATAOBJ_EXPORT has not be defined yet 00046 #ifdef DATAOBJECT_DLL 00047 #define DATAOBJ_EXPORT __declspec(dllexport) 00048 #else 00049 #define DATAOBJ_EXPORT __declspec(dllimport) 00050 #endif 00051 #endif 00052 00053 #endif //DATAOBJ_EXPORT 00054 00055 #endif //windows 00056 00057 #ifndef DATAOBJ_EXPORT 00058 #define DATAOBJ_EXPORT 00059 #endif