diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-16 16:54:12 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-16 16:54:12 +0000 |
commit | fc0bbda00d476ba0c0b43dd88fd1d1a1d11577cc (patch) | |
tree | 8567dd60a4e2f033c776fb45e844d4e1e3c7324c /core | |
parent | 67268cd0efa2ebd3b27e963718e90b461e9f73b2 (diff) | |
download | pdfium-fc0bbda00d476ba0c0b43dd88fd1d1a1d11577cc.tar.xz |
core: allow building against system icu-uc
Use the system ICU header when USE_SYSTEM_ICUUC is defined.
Change-Id: Ieeb0e4a11ae86da871644dd0fd84de07e9917fde
Reviewed-on: https://pdfium-review.googlesource.com/32490
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/fxcrt/fx_extension.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/fxcrt/fx_extension.h b/core/fxcrt/fx_extension.h index ff96de0f7c..f5c0dad53f 100644 --- a/core/fxcrt/fx_extension.h +++ b/core/fxcrt/fx_extension.h @@ -13,7 +13,12 @@ #include "core/fxcrt/fx_string.h" #include "third_party/base/span.h" + +#if defined(USE_SYSTEM_ICUUC) +#include <unicode/uchar.h> +#else #include "third_party/icu/source/common/unicode/uchar.h" +#endif #define FX_INVALID_OFFSET static_cast<uint32_t>(-1) |