| Index: src/icu_util.cc
|
| diff --git a/src/icu_util.cc b/src/icu_util.cc
|
| index aaafadc3eea2af9a598da66e5f358541934b0379..91f45278ee546d3b10db7321cbfdb3b1dcd3f4f4 100644
|
| --- a/src/icu_util.cc
|
| +++ b/src/icu_util.cc
|
| @@ -27,7 +27,7 @@
|
|
|
| #include "icu_util.h"
|
|
|
| -#if defined(_WIN32)
|
| +#if defined(_WIN32) && defined(ENABLE_I18N_SUPPORT)
|
| #include <windows.h>
|
|
|
| #include "unicode/putil.h"
|
| @@ -39,8 +39,10 @@
|
|
|
| namespace v8 {
|
|
|
| +namespace internal {
|
| +
|
| bool InitializeICU() {
|
| -#if defined(_WIN32)
|
| +#if defined(_WIN32) && defined(ENABLE_I18N_SUPPORT)
|
| // We expect to find the ICU data module alongside the current module.
|
| HMODULE module = LoadLibraryA(ICU_UTIL_DATA_SHARED_MODULE_NAME);
|
| if (!module) return false;
|
| @@ -57,4 +59,4 @@ bool InitializeICU() {
|
| #endif
|
| }
|
|
|
| -} // namespace v8
|
| +} } // namespace v8::internal
|
|
|