From efdc90f69935580ee509429f5423fb6cb7f1dc8d Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 26 May 2016 17:22:18 +0200 Subject: [PATCH] fix building with BIGINT=no (NOTE: some tests will fail) --- src/xml_tree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xml_tree.cpp b/src/xml_tree.cpp index e342e6861..b14b8e4e0 100644 --- a/src/xml_tree.cpp +++ b/src/xml_tree.cpp @@ -72,8 +72,6 @@ DEFINE_NAME_TRAIT( int, "int") DEFINE_NAME_TRAIT( boolean_type, "boolean_type") #ifdef BIGINT DEFINE_NAME_TRAIT( mapnik::value_integer, "long long" ) -#else -DEFINE_NAME_TRAIT( mapnik::value_integer, "int" ) #endif DEFINE_NAME_TRAIT( std::string, "string" ) 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(int); compile_get_opt_attr(unsigned); +#ifdef BIGINT compile_get_opt_attr(mapnik::value_integer); +#endif compile_get_opt_attr(float); compile_get_opt_attr(double); compile_get_opt_attr(color);