[xdebug-dev] xdebug xdebug/xdebug.c - MFH: Made this compile for everything < 5.3 again.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 20 Mar 2008 17:50:37 +0100

Date: Thu Mar 20 17:50:37 CET 2008
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- MFH: Made this compile for everything < 5.3 again.

Modified files:
           xdebug/xdebug.c (version: 1.400.2.14)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.400.2.13
retrieving revision 1.400.2.14
diff -u -r1.400.2.13 -r1.400.2.14
--- xdebug/xdebug.c:1.400.2.13 Wed Mar 19 15:01:06 2008 GMT
+++ xdebug/xdebug.c Thu Mar 20 15:50:37 2008 GMT
@@ -758,7 +758,11 @@
         }
 
         /* Only enabled extended info when it is not disabled */
+#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3) || PHP_MAJOR_VERSION >= 6
         CG(compiler_options) = CG(compiler_options) | (XG(extended_info) ? ZEND_COMPILE_EXTENDED_INFO : 0);
+#else
+ CG(extended_info) = XG(extended_info);
+#endif
 
         if (XG(default_enable)) {
                 zend_error_cb = new_error_cb;
Received on Thu Mar 20 2008 - 17:50:39 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST