Skip to content

Commit

Permalink
Fixed compilation with ZTS on PHP < 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Feb 26, 2012
1 parent fd9d3f0 commit ada97f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xdebug_var.c
Expand Up @@ -687,6 +687,9 @@ void xdebug_attach_static_var_with_contents(zval **zv XDEBUG_ZEND_HASH_APPLY_TSR
char *class_name;
char *prop_name, *prop_class_name;
xdebug_var_export_options *options;
#if !defined(PHP_VERSION_ID) || PHP_VERSION_ID < 50300
TSRMLS_FETCH();
#endif

node = va_arg(args, xdebug_xml_node *);
options = va_arg(args, xdebug_var_export_options *);
Expand Down

0 comments on commit ada97f8

Please sign in to comment.