Browse Source

catch up with PHP_5_2, zend_property_info.ce

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@78 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 16 years ago
parent
commit
ee150ff9c3
  1. 4
      processor/processor.m4
  2. 3
      xcache.h

4
processor/processor.m4

@ -235,6 +235,10 @@ DEF_STRUCT_P_FUNC(`zend_property_info', , `
#ifdef ZEND_ENGINE_2_1
DISPATCH(int, doc_comment_len)
PROC_USTRING_L(, doc_comment, doc_comment_len)
#endif
dnl isnt in php6 yet
#if defined(ZEND_ENGINE_2_2) && !defined(IS_UNICODE)
PROC_CLASS_ENTRY_P(ce)
#endif
')
#endif

3
xcache.h

@ -26,6 +26,9 @@
#if !defined(ZEND_ENGINE_2_1) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1 || PHP_MAJOR_VERSION > 5)
# define ZEND_ENGINE_2_1
#endif
#if !defined(ZEND_ENGINE_2_2) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 2 || PHP_MAJOR_VERSION > 5)
# define ZEND_ENGINE_2_2
#endif
#define NOTHING
/* ZendEngine code Switcher */

Loading…
Cancel
Save