[xdebug-dev] xdebug xdebug/xdebug.c - Make this build on 4.3 and 5.0 again. No clue how this happened...

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Fri, 5 Nov 2004 14:12:09 +0100

Date: Fri Nov 5 14:12:09 CET 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Make this build on 4.3 and 5.0 again. No clue how this happened...

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -r1.251 -r1.252
--- xdebug/xdebug.c:1.251 Thu Nov 04 21:43:55 2004 GMT
+++ xdebug/xdebug.c Fri Nov 05 12:12:09 2004 GMT
@@ -1563,23 +1563,23 @@
         return old_##f##_handler(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU); \
 }
 #else
-#define xdebug_opcode_override(f) static int xdebug_##f##_handler(zend_opcode_handler_args) \
+#define XDEBUG_OPCODE_OVERRIDE(f) static int xdebug_##f##_handler(ZEND_OPCODE_HANDLER_ARGS) \
 { \
- if (xg(do_code_coverage)) { \
+ if (XG(do_code_coverage)) { \
                 zend_op *cur_opcode; \
                 int lineno; \
                 char *file; \
                 int file_len; \
 \
- cur_opcode = *eg(opline_ptr); \
+ cur_opcode = *EG(opline_ptr); \
                 lineno = cur_opcode->lineno; \
 \
                 file = op_array->filename; \
                 file_len = strlen(file); \
 \
- xdebug_count_line(file, lineno, 0 tsrmls_cc); \
+ xdebug_count_line(file, lineno, 0 TSRMLS_CC); \
         } \
- return old_##f##_handler(zend_opcode_handler_args_passthru); \
+ return old_##f##_handler(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU); \
 }
 #endif
 XDEBUG_OPCODE_OVERRIDE(jmp)
Received on Fri Nov 05 2004 - 14:12:19 GMT

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