Changeset 1213 in svn for trunk/xcache/xc_compatibility.h


Ignore:
Timestamp:
2012-12-19T09:42:53+01:00 (3 years ago)
Author:
Xuefer
Message:

add support for PHP_5_5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_compatibility.h

    r1151 r1213  
    1111 */
    1212
    13 #if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 4 || PHP_MAJOR_VERSION > 5)
     13#if !defined(ZEND_ENGINE_2_5) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 5 || PHP_MAJOR_VERSION > 6)
     14#   define ZEND_ENGINE_2_5
     15#endif
     16#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 4 || defined(ZEND_ENGINE_2_5))
    1417#   define ZEND_ENGINE_2_4
    1518#endif
Note: See TracChangeset for help on using the changeset viewer.