fix #1846 in 2.3.x branch for unix (msvc still a mystery)

This commit is contained in:
Dane Springmeyer 2013-11-06 13:43:10 -08:00
parent 84d9900862
commit 49829bf2f6

View file

@ -125,8 +125,13 @@ struct integer_parser
typedef qi::int_parser<T,10,1,-1> type;
};
#ifdef __GNUC__
template <typename Iterator>
struct MAPNIK_DECL expression_grammar : qi::grammar<Iterator, expr_node(), space_type>
#else
template <typename Iterator>
struct expression_grammar : qi::grammar<Iterator, expr_node(), space_type>
#endif
{
typedef qi::rule<Iterator, expr_node(), space_type> rule_type;