summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-05-27 15:54:45 +0000
committerXuefer <xuefer@gmail.com>2014-05-27 15:54:45 +0000
commit71137b9c29f1c1eb9a4f53d012e8548611f8e0d6 (patch)
tree75301d06b5a915edf3d140e5507f19eb64d762b5 /xcache
parent5f8c3d0ee3de8611a8b98367da46ea28179435db (diff)
downloadxcache-71137b9c29f1c1eb9a4f53d012e8548611f8e0d6.tar.gz
xcache-71137b9c29f1c1eb9a4f53d012e8548611f8e0d6.zip
fix build for pre-5.6
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1489 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 8d522c5..9fad4db 100644
--- a/xcache/xc_compatibility.h
+++ b/xcache/xc_compatibility.h
@@ -98,6 +98,10 @@ static inline void xc_add_assoc_null_ex(zval *arg, char *key, uint key_len)
#endif
/* }}} */
+#ifndef ZEND_ENGINE_2_6
+typedef void zend_ast;
+#endif
+
#ifdef ZEND_ENGINE_2_4
# define Z_OP(op) (op)
# define Z_OP_CONSTANT(op) (op).literal->constant