summaryrefslogtreecommitdiff
path: root/processor
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-09-11 08:11:24 +0000
committerXuefer <xuefer@gmail.com>2014-09-11 08:11:24 +0000
commitbe1ba4773807c95ef6126abeefa27d7c0d64fe7f (patch)
treed8956c1c1775ac217a0924cc233fb40128b8c480 /processor
parent97bec7a55daee607e5be358ac9d17b5ed353077e (diff)
downloadxcache-be1ba4773807c95ef6126abeefa27d7c0d64fe7f.tar.gz
xcache-be1ba4773807c95ef6126abeefa27d7c0d64fe7f.zip
disable {{{__DIR__}}} recognization for <=PHP_5_2
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1521 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'processor')
-rw-r--r--processor/processor.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/processor/processor.m4 b/processor/processor.m4
index b4e0acc..a06b1fe 100644
--- a/processor/processor.m4
+++ b/processor/processor.m4
@@ -1308,13 +1308,17 @@ DEF_STRUCT_P_FUNC(`xc_entry_php_t', , `dnl {{{
PROCESS(size_t, filepath_len)
IFRESTORE(`COPYPOINTER(filepath)', `PROC_STRING_L(filepath, filepath_len)')
+#ifdef ZEND_ENGINE_2_3
PROCESS(size_t, dirpath_len)
IFRESTORE(`COPYPOINTER(dirpath)', `PROC_STRING_L(dirpath, dirpath_len)')
+#endif
#ifdef IS_UNICODE
PROCESS(int, ufilepath_len)
IFRESTORE(`COPYPOINTER(ufilepath)', `PROC_USTRING_L(ufilepath, ufilepath_len)')
+# ifdef ZEND_ENGINE_2_3
PROCESS(int, udirpath_len)
IFRESTORE(`COPYPOINTER(udirpath)', `PROC_USTRING_L(udirpath, udirpath_len)')
+# endif
#endif
')
dnl }}}