diff --git a/include/mapnik/config.hpp b/include/mapnik/config.hpp index 37f685c67..857ebf5c9 100644 --- a/include/mapnik/config.hpp +++ b/include/mapnik/config.hpp @@ -23,7 +23,7 @@ #ifndef CONFIG_HPP #define CONFIG_HPP -// Window DLL support +// Windows DLL support #ifdef _WINDOWS # define MAPNIK_DECL __declspec (dllexport) diff --git a/include/mapnik/proj_transform.hpp b/include/mapnik/proj_transform.hpp index 5a5e92c13..62fef1d49 100644 --- a/include/mapnik/proj_transform.hpp +++ b/include/mapnik/proj_transform.hpp @@ -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, diff --git a/include/mapnik/projection.hpp b/include/mapnik/projection.hpp index 90e40819f..bd885ddce 100644 --- a/include/mapnik/projection.hpp +++ b/include/mapnik/projection.hpp @@ -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: diff --git a/include/mapnik/scale_denominator.hpp b/include/mapnik/scale_denominator.hpp index 4a5c7ee2f..16e3a906a 100644 --- a/include/mapnik/scale_denominator.hpp +++ b/include/mapnik/scale_denominator.hpp @@ -21,10 +21,11 @@ *****************************************************************************/ //$Id$ +#include 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); }