From fc0bbda00d476ba0c0b43dd88fd1d1a1d11577cc Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 16 May 2018 16:54:12 +0000 Subject: 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 Commit-Queue: Lei Zhang --- core/fxcrt/fx_extension.h | 5 +++++ 1 file changed, 5 insertions(+) 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 +#else #include "third_party/icu/source/common/unicode/uchar.h" +#endif #define FX_INVALID_OFFSET static_cast(-1) -- cgit v1.2.3