| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 u_setDataDirectory(data_path.value().c_str()); | 83 u_setDataDirectory(data_path.value().c_str()); |
| 84 // Only look for the packaged data file; | 84 // Only look for the packaged data file; |
| 85 // the default behavior is to look for individual files. | 85 // the default behavior is to look for individual files. |
| 86 UErrorCode err = U_ZERO_ERROR; | 86 UErrorCode err = U_ZERO_ERROR; |
| 87 udata_setFileAccess(UDATA_ONLY_PACKAGES, &err); | 87 udata_setFileAccess(UDATA_ONLY_PACKAGES, &err); |
| 88 return err == U_ZERO_ERROR; | 88 return err == U_ZERO_ERROR; |
| 89 #endif | 89 #endif |
| 90 } | 90 } |
| 91 | 91 |
| 92 } // namespace icu_util | 92 } // namespace icu_util |
| 93 | |
| OLD | NEW |