[xdebug-dev] xdebug xdebug/xdebug_var.c - Fixed ZTS compile again for PHP < 5.3.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Fri, 17 Jul 2009 01:01:00 +0200

Date: Fri Jul 17 01:01:00 CEST 2009
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed ZTS compile again for PHP < 5.3.

Modified files:
           xdebug/xdebug_var.c (version: 1.99)

[FILE: /xdebug/xdebug_var.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- xdebug/xdebug_var.c:1.98 Thu Jul 02 07:03:41 2009 GMT
+++ xdebug/xdebug_var.c Thu Jul 16 21:01:00 2009 GMT
@@ -468,6 +468,9 @@
         int level;
         xdebug_str *str;
         char *prop_name, *class_name, *modifier;
+#if !defined(PHP_VERSION_ID) || PHP_VERSION_ID < 50300
+ TSRMLS_FETCH();
+#endif
 
         level = va_arg(args, int);
         str = va_arg(args, struct xdebug_str*);
Received on Fri Jul 17 2009 - 01:16:19 BST

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