summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_helpers.cpp
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-03-31 18:51:03 +0200
committerAnatol Belski <ab@php.net>2018-03-31 18:51:56 +0200
commit8d35a423838eb462cd39ee535c5d003073cc5f22 (patch)
treebaf326dd800f1521f62bcbc5b1b1106cc0c9e76b /ext/intl/msgformat/msgformat_helpers.cpp
parentcad2a0f9c3f07b79269c49db491d7855ac13b4d2 (diff)
downloadphp-git-8d35a423838eb462cd39ee535c5d003073cc5f22.tar.gz
Utilize the recommended way to handle the icu namespace
Diffstat (limited to 'ext/intl/msgformat/msgformat_helpers.cpp')
-rw-r--r--ext/intl/msgformat/msgformat_helpers.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/intl/msgformat/msgformat_helpers.cpp b/ext/intl/msgformat/msgformat_helpers.cpp
index 5f39b34090..5a45398dce 100644
--- a/ext/intl/msgformat/msgformat_helpers.cpp
+++ b/ext/intl/msgformat/msgformat_helpers.cpp
@@ -76,6 +76,16 @@ MessageFormatAdapter::getMessagePattern(MessageFormat* m) {
#endif
U_NAMESPACE_END
+using U_ICU_NAMESPACE::Formattable;
+using U_ICU_NAMESPACE::Format;
+using U_ICU_NAMESPACE::DateFormat;
+using U_ICU_NAMESPACE::MessageFormat;
+#ifdef HAS_MESSAGE_PATTERN
+using U_ICU_NAMESPACE::MessagePattern;
+#endif
+using U_ICU_NAMESPACE::MessageFormatAdapter;
+using U_ICU_NAMESPACE::FieldPosition;
+
U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt)
{
int32_t fmt_count = 0;