[xdebug-dev] xdebug xdebug/xdebug.c - Fixed Windows build issues.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 12 Jul 2004 09:12:26 +0200

Date: Mon Jul 12 09:12:26 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Fixed Windows build issues.

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -r1.226 -r1.227
--- xdebug/xdebug.c:1.226 Fri Jul 02 13:11:39 2004 GMT
+++ xdebug/xdebug.c Mon Jul 12 05:12:26 2004 GMT
@@ -1374,7 +1374,9 @@
         } else if (whence == 1) { /* end */
                 xdebug_str_add(&str, "1\t", 0);
                 xdebug_str_add(&str, xdebug_sprintf("%f\t", xdebug_get_utime() - XG(start_time)), 1);
+#if MEMORY_LIMIT
                 xdebug_str_add(&str, xdebug_sprintf("%lu\n", AG(allocated_memory)), 1);
+#endif
         }
 
         return str.d;
@@ -1387,7 +1389,7 @@
                 case 0:
                         return return_trace_stack_frame_begin_normal(i TSRMLS_CC);
                 case 1:
- return return_trace_stack_frame_begin_computerized(i, fnr TSRMLS_CC);
+ return return_trace_stack_frame_begin_computerized(i, fnr);
                 default:
                         return xdstrdup("");
         }
Received on Mon Jul 12 2004 - 09:12:32 BST

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