From 093fcee6d1ba1fd360718ceade83894aeffc2548 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 21 Jul 2017 10:11:29 +0200 Subject: [PATCH] only include if ICU >= 59 (attempting to fix current `coverage` build on travis). --- include/mapnik/unicode.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/mapnik/unicode.hpp b/include/mapnik/unicode.hpp index 695ca4586..798bfcb4e 100644 --- a/include/mapnik/unicode.hpp +++ b/include/mapnik/unicode.hpp @@ -32,7 +32,12 @@ #include #include // icu +#if (U_ICU_VERSION_MAJOR_NUM >= 59) +#pragma GCC diagnostic push +#include #include +#pragma GCC diagnostic pop +#endif struct UConverter;