Index: trunk/xcache/xc_compatibility.h
===================================================================
--- trunk/xcache/xc_compatibility.h	(revision 1151)
+++ trunk/xcache/xc_compatibility.h	(revision 1213)
@@ -11,5 +11,8 @@
  */
 
-#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 4 || PHP_MAJOR_VERSION > 5)
+#if !defined(ZEND_ENGINE_2_5) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 5 || PHP_MAJOR_VERSION > 6)
+#	define ZEND_ENGINE_2_5
+#endif
+#if !defined(ZEND_ENGINE_2_4) && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 4 || defined(ZEND_ENGINE_2_5))
 #	define ZEND_ENGINE_2_4
 #endif
