OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/icu_util.h" | 5 #include "src/icu_util.h" |
6 | 6 |
7 #if defined(_WIN32) | 7 #if defined(_WIN32) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 atexit(free_icu_data_ptr); | 80 atexit(free_icu_data_ptr); |
81 | 81 |
82 UErrorCode err = U_ZERO_ERROR; | 82 UErrorCode err = U_ZERO_ERROR; |
83 udata_setCommonData(reinterpret_cast<void*>(g_icu_data_ptr), &err); | 83 udata_setCommonData(reinterpret_cast<void*>(g_icu_data_ptr), &err); |
84 return err == U_ZERO_ERROR; | 84 return err == U_ZERO_ERROR; |
85 #endif | 85 #endif |
86 #endif | 86 #endif |
87 } | 87 } |
88 | 88 |
89 } } // namespace v8::internal | 89 } // namespace internal |
| 90 } // namespace v8 |
OLD | NEW |