From 69008a5d9b165382413d7466e6e64fbfbd13b36e Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sun, 20 May 2007 08:47:45 +0000 Subject: [PATCH] fix build error without --enable-xcache-test git-svn-id: svn://svn.lighttpd.net/xcache/trunk@390 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- xc_malloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xc_malloc.c b/xc_malloc.c index aae9550..88b40bc 100644 --- a/xc_malloc.c +++ b/xc_malloc.c @@ -143,6 +143,7 @@ static XC_SHM_CAN_READONLY(xc_malloc_can_readonly) /* {{{ */ /* }}} */ static XC_SHM_IS_READWRITE(xc_malloc_is_readwrite) /* {{{ */ { +#ifdef HAVE_XCACHE_TEST HashPosition pos; size_t *psize; char **ptr; @@ -155,6 +156,7 @@ static XC_SHM_IS_READWRITE(xc_malloc_is_readwrite) /* {{{ */ } zend_hash_move_forward_ex(&shm->blocks, &pos); } +#endif return 0; }