export symbols for win32 dlls
This commit is contained in:
parent
ab7691c1d0
commit
7b0f3d3fb9
4 changed files with 5 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
||||||
#ifndef CONFIG_HPP
|
#ifndef CONFIG_HPP
|
||||||
#define CONFIG_HPP
|
#define CONFIG_HPP
|
||||||
|
|
||||||
// Window DLL support
|
// Windows DLL support
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
# define MAPNIK_DECL __declspec (dllexport)
|
# define MAPNIK_DECL __declspec (dllexport)
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
class proj_transform : private boost::noncopyable
|
class MAPNIK_DECL proj_transform : private boost::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
proj_transform(projection const& source,
|
proj_transform(projection const& source,
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace mapnik {
|
||||||
: std::runtime_error("failed to initialize projection with:" + params) {}
|
: std::runtime_error("failed to initialize projection with:" + params) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class projection
|
class MAPNIK_DECL projection
|
||||||
{
|
{
|
||||||
friend class proj_transform;
|
friend class proj_transform;
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -21,10 +21,11 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
//$Id$
|
//$Id$
|
||||||
|
#include <mapnik/config.hpp>
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
class Map;
|
class Map;
|
||||||
class projection;
|
class projection;
|
||||||
double scale_denominator(Map const& map,projection const& prj);
|
MAPNIK_DECL double scale_denominator(Map const& map,projection const& prj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue