Hal Canary | 0e07ad7 | 2018-02-08 13:06:56 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | #ifndef load_icu_DEFINED |
| 8 | #define load_icu_DEFINED |
| 9 | |
Hal Canary | 6102192 | 2019-02-06 12:29:11 -0500 | [diff] [blame] | 10 | #if defined(_WIN32) && defined(SK_USING_THIRD_PARTY_ICU) |
| 11 | bool SkLoadICU(); |
Hal Canary | 0e07ad7 | 2018-02-08 13:06:56 -0500 | [diff] [blame] | 12 | #else |
Hal Canary | 6102192 | 2019-02-06 12:29:11 -0500 | [diff] [blame] | 13 | static inline bool SkLoadICU() { return true; } |
| 14 | #endif // defined(_WIN32) && defined(SK_USING_THIRD_PARTY_ICU) |
Hal Canary | 0e07ad7 | 2018-02-08 13:06:56 -0500 | [diff] [blame] | 15 | |
Hal Canary | 6102192 | 2019-02-06 12:29:11 -0500 | [diff] [blame] | 16 | #endif // load_icu_DEFINED |