Browse Source

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 15 years ago
parent
commit
69008a5d9b
  1. 2
      xc_malloc.c

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

Loading…
Cancel
Save