diff options
author | Anatol Belski <ab@php.net> | 2018-03-31 18:51:03 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-03-31 18:51:56 +0200 |
commit | 8d35a423838eb462cd39ee535c5d003073cc5f22 (patch) | |
tree | baf326dd800f1521f62bcbc5b1b1106cc0c9e76b /ext/intl/timezone/timezone_methods.cpp | |
parent | cad2a0f9c3f07b79269c49db491d7855ac13b4d2 (diff) | |
download | php-git-8d35a423838eb462cd39ee535c5d003073cc5f22.tar.gz |
Utilize the recommended way to handle the icu namespace
Diffstat (limited to 'ext/intl/timezone/timezone_methods.cpp')
-rw-r--r-- | ext/intl/timezone/timezone_methods.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index d1cf6f58f2..abf4548d27 100644 --- a/ext/intl/timezone/timezone_methods.cpp +++ b/ext/intl/timezone/timezone_methods.cpp @@ -23,6 +23,7 @@ #include <unicode/locid.h> #include <unicode/timezone.h> #include <unicode/ustring.h> +#include <unicode/calendar.h> #include "intl_convertcpp.h" #include "../common/common_date.h" @@ -37,6 +38,9 @@ extern "C" { } #include "common/common_enum.h" +using U_ICU_NAMESPACE::Locale; +using U_ICU_NAMESPACE::Calendar; + U_CFUNC PHP_METHOD(IntlTimeZone, __construct) { zend_throw_exception( NULL, |