//=========================================================================== // GoTools Core - SINTEF Geometry Tools Core library, version 2.0.1 // // Copyright (C) 2000-2007, 2010 SINTEF ICT, Applied Mathematics, Norway. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation version 2 of the License. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., // 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // // Contact information: E-mail: tor.dokken@sintef.no // SINTEF ICT, Department of Applied Mathematics, // P.O. Box 124 Blindern, // 0314 Oslo, Norway. // // Other licenses are also available for this software, notably licenses // for: // - Building commercial software. // - Building software whose source code you wish to keep private. //===========================================================================
00001 #ifndef _CONFIG_H 00002 #define _CONFIG_H 00003 00004 #ifdef __BORLANDC__ 00005 # define GO_API __declspec(package) 00006 #elif defined(MICROSOFT) || defined(_MSC_VER) 00007 # if defined(__DLL__) || defined(_DLL) 00008 # define GO_API __declspec(dllexport) 00009 # else 00010 # define GO_API __declspec(dllimport) 00011 # endif // __DLL__ 00012 #else 00013 # define GO_API 00014 #endif // __BORLANDC__ 00015 00016 // The following pragma is not optimal, but it's a workaround to 00017 // getting rid of warning C4251 in Visual Studio 00018 #ifdef _MSC_VER 00019 #pragma warning( disable: 4251 ) 00020 #endif // _MSC_VER 00021 00022 #endif // _CONFIG_H