summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_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/dateformat/dateformat_helpers.cpp
parentcad2a0f9c3f07b79269c49db491d7855ac13b4d2 (diff)
downloadphp-git-8d35a423838eb462cd39ee535c5d003073cc5f22.tar.gz
Utilize the recommended way to handle the icu namespace
Diffstat (limited to 'ext/intl/dateformat/dateformat_helpers.cpp')
-rw-r--r--ext/intl/dateformat/dateformat_helpers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/dateformat/dateformat_helpers.cpp b/ext/intl/dateformat/dateformat_helpers.cpp
index 959afa8d82..3caf59a309 100644
--- a/ext/intl/dateformat/dateformat_helpers.cpp
+++ b/ext/intl/dateformat/dateformat_helpers.cpp
@@ -28,6 +28,8 @@ extern "C" {
#include "../calendar/calendar_class.h"
}
+using U_ICU_NAMESPACE::GregorianCalendar;
+
int datefmt_process_calendar_arg(zval* calendar_zv,
Locale const& locale,
const char *func_name,