export symbols for win32 dlls

This commit is contained in:
Artem Pavlenko 2006-11-13 10:13:14 +00:00
parent ab7691c1d0
commit 7b0f3d3fb9
4 changed files with 5 additions and 4 deletions

View file

@ -23,7 +23,7 @@
#ifndef CONFIG_HPP
#define CONFIG_HPP
// Window DLL support
// Windows DLL support
#ifdef _WINDOWS
# define MAPNIK_DECL __declspec (dllexport)

View file

@ -32,7 +32,7 @@
namespace mapnik {
class proj_transform : private boost::noncopyable
class MAPNIK_DECL proj_transform : private boost::noncopyable
{
public:
proj_transform(projection const& source,

View file

@ -43,7 +43,7 @@ namespace mapnik {
: std::runtime_error("failed to initialize projection with:" + params) {}
};
class projection
class MAPNIK_DECL projection
{
friend class proj_transform;
public:

View file

@ -21,10 +21,11 @@
*****************************************************************************/
//$Id$
#include <mapnik/config.hpp>
namespace mapnik {
class Map;
class projection;
double scale_denominator(Map const& map,projection const& prj);
MAPNIK_DECL double scale_denominator(Map const& map,projection const& prj);
}