2003-01-22 00:45:36 +08:00
|
|
|
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield
|
|
|
|
*
|
|
|
|
* This library is open source and may be redistributed and/or modified under
|
|
|
|
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
|
|
|
* (at your option) any later version. The full license is in LICENSE file
|
|
|
|
* included with this distribution, and on the openscenegraph.org website.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* OpenSceneGraph Public License for more details.
|
|
|
|
*/
|
2002-07-17 04:07:32 +08:00
|
|
|
//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield
|
2001-10-24 03:51:39 +08:00
|
|
|
//Distributed under the terms of the GNU Library General Public License (LGPL)
|
|
|
|
//as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
#ifndef OSGTEXT_EXPORT_
|
|
|
|
#define OSGTEXT_EXPORT_ 1
|
|
|
|
|
2002-05-28 19:40:37 +08:00
|
|
|
#if defined(_MSC_VER)
|
2001-12-15 02:06:34 +08:00
|
|
|
#pragma warning( disable : 4244 )
|
2001-10-24 03:51:39 +08:00
|
|
|
#pragma warning( disable : 4251 )
|
2002-05-29 00:11:49 +08:00
|
|
|
#pragma warning( disable : 4267 )
|
2001-10-24 03:51:39 +08:00
|
|
|
#pragma warning( disable : 4275 )
|
2002-05-29 00:11:49 +08:00
|
|
|
#pragma warning( disable : 4290 )
|
2001-10-24 03:51:39 +08:00
|
|
|
#pragma warning( disable : 4786 )
|
|
|
|
#endif
|
|
|
|
|
2002-02-03 04:07:59 +08:00
|
|
|
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__)
|
2001-10-24 03:51:39 +08:00
|
|
|
# ifdef OSGTEXT_LIBRARY
|
|
|
|
# define OSGTEXT_EXPORT __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define OSGTEXT_EXPORT __declspec(dllimport)
|
|
|
|
# endif /* OSGTEXT_LIBRARY */
|
|
|
|
#else
|
|
|
|
# define OSGTEXT_EXPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|