summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_class.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/timezone/timezone_class.cpp
parentcad2a0f9c3f07b79269c49db491d7855ac13b4d2 (diff)
downloadphp-git-8d35a423838eb462cd39ee535c5d003073cc5f22.tar.gz
Utilize the recommended way to handle the icu namespace
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r--ext/intl/timezone/timezone_class.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index 223fad06b7..d3038504f6 100644
--- a/ext/intl/timezone/timezone_class.cpp
+++ b/ext/intl/timezone/timezone_class.cpp
@@ -37,6 +37,8 @@ extern "C" {
#include <ext/date/php_date.h>
}
+using U_ICU_NAMESPACE::Calendar;
+
/* {{{ Global variables */
U_CDECL_BEGIN
zend_class_entry *TimeZone_ce_ptr = NULL;