1
0
Fork 0

fixed #183: fix for some assert.h that conflict with php.h NDEBUG stuffs

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@559 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2008-07-04 08:38:12 +00:00
parent 907def1739
commit 430f921aa6
1 changed files with 2 additions and 0 deletions

View File

@ -580,7 +580,9 @@ static void xc_fillinfo_dmz(int cachetype, xc_cache_t *cache, zval *return_value
#endif
}
add_assoc_zval_ex(return_value, ZEND_STRS("free_blocks"), blocks);
#ifndef NDEBUG
assert(avail == handlers->avail(mem));
#endif
}
/* }}} */
static void xc_fillentry_dmz(xc_entry_t *entry, int del, zval *list TSRMLS_DC) /* {{{ */