TeSPLDefines.h

Go to the documentation of this file.
00001 /************************************************************************************
00002 TerraLib - a library for developing GIS applications.
00003 Copyright � 2001-2007 INPE and Tecgraf/PUC-Rio.
00004 
00005 This code is part of the TerraLib library.
00006 This library is free software; you can redistribute it and/or
00007 modify it under the terms of the GNU Lesser General Public
00008 License as published by the Free Software Foundation; either
00009 version 2.1 of the License, or (at your option) any later version.
00010 
00011 You should have received a copy of the GNU Lesser General Public
00012 License along with this library.
00013 
00014 The authors reassure the license terms regarding the warranties.
00015 They specifically disclaim any warranties, including, but not limited to,
00016 the implied warranties of merchantability and fitness for a particular purpose.
00017 The library provided hereunder is on an "as is" basis, and the authors have no
00018 obligation to provide maintenance, support, updates, enhancements, or modifications.
00019 In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
00020 indirect, special, incidental, or consequential damages arising out of the use
00021 of this library and its documentation.
00022 *************************************************************************************/
00023 /*! \file TeSPLDefines.h
00024     \brief Provides a set of general definitions used by te_spl project.
00025 */
00026 #ifndef  __TESPL_INTERNAL_DEFINES_H
00027 #define  __TESPL_INTERNAL_DEFINES_H
00028 
00029 /** @defgroup Defines Defines and constants
00030   @{
00031  */
00032 
00033 /** @defgroup TLSPL_AS_DLL macros.
00034   @{
00035  */
00036 #if defined( WIN32 ) || defined( __WIN32__ ) || defined ( _WIN32 ) || defined( WIN64 ) || defined( _WIN32_WCE )
00037 
00038 #if defined(_MSC_VER) /* MSVC Compiler */
00039 #pragma warning(disable: 4251)
00040 #endif
00041 
00042 #ifdef TLSPL_AS_DLL
00043 #define TLSPL_DLL __declspec(dllexport)
00044 #else
00045 #define TLSPL_DLL __declspec(dllimport)
00046 #endif
00047 
00048 #else
00049 #define TLSPL_DLL
00050 #endif
00051 /** @} */ 
00052 
00053 #endif
00054 

Generated on Sun Jul 29 04:01:28 2012 for TerraLib - Development Source by  doxygen 1.5.3