mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 12:51:52 +00:00
Don't initialize ICU on V8 < 5.3.178
This commit is contained in:
parent
c957be8b2a
commit
5f08db8a49
@ -76,8 +76,8 @@ void v8js_v8_init() /* {{{ */
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef PHP_V8_EXEC_PATH
|
||||
/* Initialize ICU */
|
||||
#if defined(PHP_V8_EXEC_PATH) && PHP_V8_API_VERSION >= 5003178
|
||||
/* Initialize ICU, call introduced in V8 5.3.178 */
|
||||
v8::V8::InitializeICUDefaultLocation(PHP_V8_EXEC_PATH, nullptr);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user