From: Adam Dickmeiss Date: Mon, 22 Mar 2010 19:00:31 +0000 (+0100) Subject: Only use yaz_icu_iter_t if ICU is enabled for YAZ X-Git-Tag: v1.4.0~63 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=9bc26001c80f8bccea8e0ec0ce8b83035bfba599;p=pazpar2-moved-to-github.git Only use yaz_icu_iter_t if ICU is enabled for YAZ --- diff --git a/src/charsets.c b/src/charsets.c index 380b213..f867b6f 100644 --- a/src/charsets.c +++ b/src/charsets.c @@ -66,7 +66,9 @@ struct pp2_relevance_token_s { pp2_charset_t pct; /* our main charset handle (type+config) */ WRBUF norm_str; /* normized string we return (temporarily) */ WRBUF sort_str; /* sort string we return (temporarily) */ +#if YAZ_HAVE_ICU yaz_icu_iter_t iter; +#endif };