fix linking of postgis.input by using MAPNIK_DECL and ensuring the header is included in src/conversions.cpp - closes #1127

This commit is contained in:
Dane Springmeyer 2012-04-05 16:59:36 -07:00
parent b7f714f7ec
commit 7b84a2ce94
2 changed files with 10 additions and 6 deletions

View file

@ -24,20 +24,21 @@
#define MAPNIK_UTIL_CONVERSIONS_HPP
// mapnik
#include <mapnik/config.hpp>
// stl
#include <string>
namespace mapnik { namespace util {
bool string2int(const char * value, int & result);
bool string2int(std::string const& value, int & result);
MAPNIK_DECL bool string2int(std::string const& value, int & result);
MAPNIK_DECL bool string2int(const char * value, int & result);
bool string2double(std::string const& value, double & result);
bool string2double(const char * value, double & result);
MAPNIK_DECL bool string2double(std::string const& value, double & result);
MAPNIK_DECL bool string2double(const char * value, double & result);
bool string2float(std::string const& value, float & result);
bool string2float(const char * value, float & result);
MAPNIK_DECL bool string2float(std::string const& value, float & result);
MAPNIK_DECL bool string2float(const char * value, float & result);
}}

View file

@ -20,6 +20,9 @@
*
*****************************************************************************/
// mapnik
#include <mapnik/util/conversions.hpp>
// boost
#include <boost/spirit/include/qi.hpp>