MAPNIK_DECL only on __GNUC__ builds
ref: error C2491: 'mapnik::feature_style_processor<Processor>::prepare_layers': definition of dllimport function not allowed
This commit is contained in:
parent
87ac079bb6
commit
f36ac22f82
1 changed files with 4 additions and 0 deletions
|
@ -47,7 +47,11 @@ struct layer_rendering_material;
|
||||||
enum eAttributeCollectionPolicy { DEFAULT = 0, COLLECT_ALL = 1 };
|
enum eAttributeCollectionPolicy { DEFAULT = 0, COLLECT_ALL = 1 };
|
||||||
|
|
||||||
template<typename Processor>
|
template<typename Processor>
|
||||||
|
#ifdef __GNUC__
|
||||||
class MAPNIK_DECL feature_style_processor
|
class MAPNIK_DECL feature_style_processor
|
||||||
|
#else
|
||||||
|
class feature_style_processor
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit feature_style_processor(Map const& m, double scale_factor = 1.0);
|
explicit feature_style_processor(Map const& m, double scale_factor = 1.0);
|
||||||
|
|
Loading…
Reference in a new issue