From 90369a79ef6b900b7487f095f55c32c9c49975ae Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 28 Jul 2011 14:50:37 +0200 Subject: [PATCH] Define wrbuf_vp_puts for YAZ < 4.2.6 This function is declared for YAZ 4.2.6 and later. --- src/filter_zoom.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 6591a6e..cd233b5 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -1252,6 +1252,13 @@ static void sort_via_cql(WRBUF cql_sortby, const char *sru_sortkeys) nmem_destroy(nmem); } +#if YAZ_VERSIONL < 0x40206 +static void wrbuf_vp_puts(const char *buf, void *client_data) +{ + WRBUF b = (WRBUF) client_data; + wrbuf_puts(b, buf); +} +#endif void yf::Zoom::Frontend::handle_search(mp::Package &package) { -- 1.7.10.4