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


Ignore:
Timestamp:
2014-05-27T06:53:34+02:00 (13 months ago)
Author:
Xuefer
Message:

WIP PHP_5_6 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_compatibility.h

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