From 7f4adc2d73871d45dbedcc08b37154989599caed 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 83ed3b126..94909b341 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;