![]() |
C++ API DOCUMENTATION |
00001 /***************************************************************************** 00002 * 00003 * This file is part of Mapnik (c++ mapping toolkit) 00004 * 00005 * Copyright (C) 2006 Artem Pavlenko 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 * 00021 *****************************************************************************/ 00022 00023 #ifndef CONFIG_HPP 00024 #define CONFIG_HPP 00025 00026 // Windows DLL support 00027 00028 #ifdef _WINDOWS 00029 # define MAPNIK_EXP __declspec (dllexport) 00030 # define MAPNIK_IMP __declspec (dllimport) 00031 # ifdef MAPNIK_EXPORTS 00032 # define MAPNIK_DECL __declspec (dllexport) 00033 # else 00034 # define MAPNIK_DECL __declspec (dllimport) 00035 # endif 00036 # pragma warning( disable: 4251 ) 00037 # pragma warning( disable: 4275 ) 00038 # if (_MSC_VER >= 1400) // vc8 00039 # pragma warning(disable : 4996) //_CRT_SECURE_NO_DEPRECATE 00040 # endif 00041 #else 00042 # define MAPNIK_EXP 00043 # define MAPNIK_IMP 00044 # define MAPNIK_DECL 00045 #endif 00046 00047 #endif // CONFIG_HPP