summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-06-25 07:08:09 +0000
committerXuefer <xuefer@gmail.com>2013-06-25 07:08:09 +0000
commit401eee2b01215a73eedff2c6ac21d9512bfd44aa (patch)
treeb5bb0a9515903ae76c0c7154628003b08bbbce5c /xcache
parentdd6e9fbe859d9bfb45b87e5a4187e7c59a79cdc2 (diff)
downloadxcache-401eee2b01215a73eedff2c6ac21d9512bfd44aa.tar.gz
xcache-401eee2b01215a73eedff2c6ac21d9512bfd44aa.zip
optimizer: fix debug build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1276 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_compatibility.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xcache/xc_compatibility.h b/xcache/xc_compatibility.h
index 47ea695..5345321 100644
--- a/xcache/xc_compatibility.h
+++ b/xcache/xc_compatibility.h
@@ -110,6 +110,10 @@ static inline void xc_add_assoc_null_ex(zval *arg, char *key, uint key_len)
typedef znode znode_op;
# define Z_CLASS_INFO(className) (className)
+
+static inline int php_output_start_default(TSRMLS_D) { php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC); }
+static inline int php_output_get_contents(zval *p TSRMLS_DC) { php_ob_get_buffer(p TSRMLS_CC); }
+static inline int php_output_end(TSRMLS_D) { php_end_ob_buffer(0, 0 TSRMLS_CC); }
#endif
/* unicode */