[xdebug-dev] xdebug xdebug/xdebug.c - Made this compile on PHP 5.0 and 5.1 again.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Wed, 30 May 2007 19:34:10 +0200

Date: Wed May 30 19:34:09 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- Made this compile on PHP 5.0 and 5.1 again.

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.390
retrieving revision 1.391
diff -u -r1.390 -r1.391
--- xdebug/xdebug.c:1.390 Tue May 29 12:17:46 2007 GMT
+++ xdebug/xdebug.c Wed May 30 15:34:09 2007 GMT
@@ -2196,7 +2196,9 @@
         if (PG(last_error_file)) {
                 free(PG(last_error_file));
         }
+#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 2) || PHP_MAJOR_VERSION >= 6
         PG(last_error_type) = type;
+#endif
         PG(last_error_message) = strdup(buffer);
         PG(last_error_file) = strdup(error_filename);
         PG(last_error_lineno) = error_lineno;
Received on Wed May 30 2007 - 19:34:13 BST

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