From 2a4fa323cfe60ed86c618cd060b87536132c0b74 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 24 Feb 2012 09:25:32 -0800 Subject: [PATCH] declare feature_impl and context_type for windows symbol visibility --- include/mapnik/feature.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/mapnik/feature.hpp b/include/mapnik/feature.hpp index 7d6015b9c..3b627d418 100644 --- a/include/mapnik/feature.hpp +++ b/include/mapnik/feature.hpp @@ -24,6 +24,7 @@ #define MAPNIK_FEATURE_HPP // mapnik +#include #include #include #include @@ -84,10 +85,10 @@ private: map_type mapping_; }; -typedef context > context_type; -typedef boost::shared_ptr context_ptr; +typedef MAPNIK_DECL context > context_type; +typedef MAPNIK_DECL boost::shared_ptr context_ptr; -class feature_impl : private boost::noncopyable +class MAPNIK_DECL feature_impl : private boost::noncopyable { friend class feature_kv_iterator; public: