skia2/third_party/icu/SkLoadICU.h
Hal Canary 6102192b96 SkLoadICU: simplify
Change-Id: I98cd1f36ca96a92b72974ae228465199638e4bea
Reviewed-on: https://skia-review.googlesource.com/c/189864
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2019-02-06 21:20:49 +00:00

17 lines
417 B
C

/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef load_icu_DEFINED
#define load_icu_DEFINED
#if defined(_WIN32) && defined(SK_USING_THIRD_PARTY_ICU)
bool SkLoadICU();
#else
static inline bool SkLoadICU() { return true; }
#endif // defined(_WIN32) && defined(SK_USING_THIRD_PARTY_ICU)
#endif // load_icu_DEFINED