[xdebug-dev] svn: /xdebug/trunk/ xdebug_var.c

From: Michael Maclean <mgdm[@]php.net>
Date: Sat, 16 Oct 2010 20:52:06 +0000

mgdm Sat, 16 Oct 2010 20:52:05 +0000

Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3343&root=xdebug

Log:
Fix TSRM problem on 5.2

Changed paths:
    U xdebug/trunk/xdebug_var.c

Modified: xdebug/trunk/xdebug_var.c
===================================================================
--- xdebug/trunk/xdebug_var.c 2010-10-15 15:02:18 UTC (rev 3342)
+++ xdebug/trunk/xdebug_var.c 2010-10-16 20:52:05 UTC (rev 3343)
@@ -528,6 +528,9 @@
         int level, debug_zval;
         xdebug_str *str;
         xdebug_var_export_options *options;
+#if !defined(PHP_VERSION_ID) || PHP_VERSION_ID < 50300
+ TSRMLS_FETCH();
+#endif

         level = va_arg(args, int);
         str = va_arg(args, struct xdebug_str*);
@@ -572,6 +575,9 @@
         xdebug_str *str;
         xdebug_var_export_options *options;
         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 Sat Oct 16 2010 - 21:52:06 BST

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