From: Adam Dickmeiss Date: Thu, 6 Feb 2014 14:46:39 +0000 (+0100) Subject: Don't define memcached_return_t if libmemcached is unavailable X-Git-Tag: v5.0.13~14 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=dcd64ead14aa87992702fd7cd7189244fc349296;hp=bd5ae730cbd95ac48993f8d2504dfe298c3637c7 Don't define memcached_return_t if libmemcached is unavailable --- diff --git a/src/zoom-memcached.c b/src/zoom-memcached.c index 6686bd5..66aeeb8 100644 --- a/src/zoom-memcached.c +++ b/src/zoom-memcached.c @@ -20,10 +20,12 @@ #include #include +#if HAVE_LIBMEMCACHED_MEMCACHED_H #if HAVE_MEMCACHED_RETURN_T #else typedef memcached_return memcached_return_t; #endif +#endif void ZOOM_memcached_init(ZOOM_connection c) {