From 9bc26001c80f8bccea8e0ec0ce8b83035bfba599 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Mar 2010 20:00:31 +0100 Subject: [PATCH] Only use yaz_icu_iter_t if ICU is enabled for YAZ --- src/charsets.c | 2 ++ 1 file changed, 2 insertions(+) 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 }; -- 1.7.10.4