/* osgCompute - Copyright (C) 2008-2009 SVT Group
 *                                                                     
 * This library is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 3 of
 * the License, or (at your option) any later version.
 *                                                                     
 * 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
 * GNU Lesse General Public License for more details.
 *
 * The full license is in LICENSE file included with this distribution.
*/

// The following symbol has a underscore suffix for compatibility.
#ifndef OSGCUDA_EXPORT_
#define OSGCUDA_EXPORT_ 1

#if defined(_MSC_VER)
    #pragma warning( disable : 4244 )
    #pragma warning( disable : 4251 )
    #pragma warning( disable : 4267 )
    #pragma warning( disable : 4275 )
    #pragma warning( disable : 4290 )
    #pragma warning( disable : 4786 )
    #pragma warning( disable : 4305 )
    #pragma warning( disable : 4996 )
#endif

#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
#  if defined( USE_LIBRARY_STATIC )
#    define LIBRARY_EXPORT
#  elif defined( USE_LIBRARY_DYN )
#    define LIBRARY_EXPORT   __declspec(dllexport)
#  else
#    define LIBRARY_EXPORT   __declspec(dllimport)
#endif
#else
#   define LIBRARY_EXPORT
#endif 


#endif //OSGCUDA_EXPORT_
