use U_NAMESPACE_QUALIFIER to most cleanly support when icu is built with -DU_USING_ICU_NAMESPACE=0 - refs #1985

This commit is contained in:
Dane Springmeyer 2013-08-14 21:56:40 -04:00
parent a13fe7da06
commit 5667343ad9
3 changed files with 3 additions and 3 deletions

View file

@ -926,7 +926,7 @@ def boost_regex_has_icu(context):
int main()
{
icu::UnicodeString ustr;
U_NAMESPACE_QUALIFIER UnicodeString ustr;
try {
boost::u32regex pattern = boost::make_u32regex(ustr);
}

View file

@ -42,7 +42,7 @@ typedef int value_integer;
#endif
typedef double value_double;
typedef icu::UnicodeString value_unicode_string;
typedef U_NAMESPACE_QUALIFIER UnicodeString value_unicode_string;
typedef bool value_bool;
struct value_null

View file

@ -376,7 +376,7 @@ void font_face_set::get_string_info(string_info & info, mapnik::value_unicode_st
shaped.releaseBuffer(length);
if (U_SUCCESS(err)) {
icu::StringCharacterIterator iter(shaped);
U_NAMESPACE_QUALIFIER StringCharacterIterator iter(shaped);
for (iter.setToStart(); iter.hasNext();) {
UChar ch = iter.nextPostInc();
char_info char_dim = character_dimensions(ch);