[xdebug-dev] xdebug xdebug/php_xdebug.h - Fix build with ZTS enabled

From: Jani Taskinen <sniper[@]php.net>
Date: Wed, 2 Aug 2006 20:15:23 +0200

Date: Wed Aug 2 20:15:23 CEST 2006
User: Jani Taskinen
Directory: xdebug

Log Message:
- Fix build with ZTS enabled
Modified files:
           xdebug/php_xdebug.h (version: 1.109)

[FILE: /xdebug/php_xdebug.h]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- xdebug/php_xdebug.h:1.108 Wed Aug 02 10:06:55 2006 GMT
+++ xdebug/php_xdebug.h Wed Aug 02 16:15:23 2006 GMT
@@ -48,8 +48,8 @@
 
 #if PHP_VERSION_ID >= 50200
 # define HAVE_PHP_MEMORY_USAGE 1
-# define XG_MEMORY_USAGE() zend_memory_usage(1)
-# define XG_MEMORY_PEAK_USAGE() zend_memory_peak_usage(1)
+# define XG_MEMORY_USAGE() zend_memory_usage(1 TSRMLS_CC)
+# define XG_MEMORY_PEAK_USAGE() zend_memory_peak_usage(1 TSRMLS_CC)
 #else
 # if MEMORY_LIMIT
 # define HAVE_PHP_MEMORY_USAGE 1
Received on Wed Aug 02 2006 - 20:17:47 BST

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