Browse Source

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 14 years ago
parent
commit
430f921aa6
  1. 2
      xcache.c

2
xcache.c

@ -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) /* {{{ */

Loading…
Cancel
Save