fix build error without --enable-xcache-test
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@390 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
cc3b18e95b
commit
69008a5d9b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue