fix building with BIGINT=no (NOTE: some tests will fail)

This commit is contained in:
artemp 2016-05-26 17:22:18 +02:00
parent ddd61c55ff
commit efdc90f699

View file

@ -72,8 +72,6 @@ DEFINE_NAME_TRAIT( int, "int")
DEFINE_NAME_TRAIT( boolean_type, "boolean_type") DEFINE_NAME_TRAIT( boolean_type, "boolean_type")
#ifdef BIGINT #ifdef BIGINT
DEFINE_NAME_TRAIT( mapnik::value_integer, "long long" ) DEFINE_NAME_TRAIT( mapnik::value_integer, "long long" )
#else
DEFINE_NAME_TRAIT( mapnik::value_integer, "int" )
#endif #endif
DEFINE_NAME_TRAIT( std::string, "string" ) DEFINE_NAME_TRAIT( std::string, "string" )
DEFINE_NAME_TRAIT( color, "color" ) DEFINE_NAME_TRAIT( color, "color" )
@ -416,7 +414,9 @@ compile_get_opt_attr(boolean_type);
compile_get_opt_attr(std::string); compile_get_opt_attr(std::string);
compile_get_opt_attr(int); compile_get_opt_attr(int);
compile_get_opt_attr(unsigned); compile_get_opt_attr(unsigned);
#ifdef BIGINT
compile_get_opt_attr(mapnik::value_integer); compile_get_opt_attr(mapnik::value_integer);
#endif
compile_get_opt_attr(float); compile_get_opt_attr(float);
compile_get_opt_attr(double); compile_get_opt_attr(double);
compile_get_opt_attr(color); compile_get_opt_attr(color);