projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd5ae73
)
Don't define memcached_return_t if libmemcached is unavailable
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Feb 2014 14:46:39 +0000
(15:46 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Feb 2014 14:46:39 +0000
(15:46 +0100)
src/zoom-memcached.c
patch
|
blob
|
history
diff --git
a/src/zoom-memcached.c
b/src/zoom-memcached.c
index
6686bd5
..
66aeeb8
100644
(file)
--- a/
src/zoom-memcached.c
+++ b/
src/zoom-memcached.c
@@
-20,10
+20,12
@@
#include <yaz/log.h>
#include <yaz/diagbib1.h>
+#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)
{