1
0
Fork 0

fix build error without --enable-xcache-test

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@390 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2007-05-20 08:47:45 +00:00
parent cc3b18e95b
commit 69008a5d9b
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}